You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The return in the header of CFE_ES_CalculateCRC says it returns error codes but it doesn't. When things go wrong it returns either the input crc or 0 depending on how it went wrong,
Expected behavior
Header should correctly explain what CFE_ES_CalculateCRC can return.
Additional context
If TypeCRC is a non-implemented type then it returns 0.
If DataPtr is null or DataLength is zero it returns the input crc
Reporter Info
Alex Campbell GSFC
The text was updated successfully, but these errors were encountered:
Describe the bug
The return in the header of CFE_ES_CalculateCRC says it returns error codes but it doesn't. When things go wrong it returns either the input crc or 0 depending on how it went wrong,
Expected behavior
Header should correctly explain what CFE_ES_CalculateCRC can return.
Additional context
If TypeCRC is a non-implemented type then it returns 0.
If DataPtr is null or DataLength is zero it returns the input crc
Reporter Info
Alex Campbell GSFC
The text was updated successfully, but these errors were encountered: