cfs-tools / cfs-basecamp

Provides a framework and tools for developing, downloading, and integrating core Flight System (cFS) applications into an operational system.
Other
25 stars 3 forks source link

Incorrect format string in each app's ProcesCommand() function #19

Closed dmccomas closed 1 year ago

dmccomas commented 1 year ago

All of the basecamp apps originated from a common code base which has an incorrect format string. The "0x%08X" in the code below should be "0x%04X"

CFE_EVS_SendEvent(FILE_MGR_INVALID_MID_EID, CFE_EVS_EventType_ERROR,
                                 "Received invalid command packet, MID = 0x%08X", CFE_SB_MsgIdToValue(MsgId));