Skip to content

Commit

Permalink
Fix #85, Remove CFE_BIT-related macros
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Apr 15, 2023
1 parent 487169b commit 82b4e7b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fsw/src/sc_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,13 +452,13 @@ void SC_SendHkPacket(void)
{
if (SC_OperData.RtsInfoTblAddr[i].DisabledFlag == true)
{
CFE_SET(SC_OperData.HkPacket.RtsDisabledStatus[i / SC_NUMBER_OF_RTS_IN_UINT16],
i % SC_NUMBER_OF_RTS_IN_UINT16);
SC_OperData.HkPacket.RtsDisabledStatus[i / SC_NUMBER_OF_RTS_IN_UINT16] |=
(1 << (i % SC_NUMBER_OF_RTS_IN_UINT16));
}
if (SC_OperData.RtsInfoTblAddr[i].RtsStatus == SC_EXECUTING)
{
CFE_SET(SC_OperData.HkPacket.RtsExecutingStatus[i / SC_NUMBER_OF_RTS_IN_UINT16],
i % SC_NUMBER_OF_RTS_IN_UINT16);
SC_OperData.HkPacket.RtsExecutingStatus[i / SC_NUMBER_OF_RTS_IN_UINT16] |=
(1 << (i % SC_NUMBER_OF_RTS_IN_UINT16));
}
} /* end for */

Expand Down

0 comments on commit 82b4e7b

Please sign in to comment.