Skip to content

Commit

Permalink
Fix #82, Convert integers holding boolean truth values to bool
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Sep 30, 2023
1 parent bd4dd1c commit cabac30
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fsw/src/cs_compute.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ CFE_Status_t CS_ComputeApp(CS_Res_App_Table_Entry_t *ResultsEntry, uint32 *Compu
CFE_Status_t Result;
CFE_Status_t ResultGetResourceID = CS_ERROR;
CFE_Status_t ResultGetResourceInfo = CS_ERROR;
int32 ResultAddressValid = false;
bool ResultAddressValid = false;

/* variables to get applications address */
CFE_ResourceId_t ResourceID = CFE_RESOURCEID_UNDEFINED;
Expand Down Expand Up @@ -350,8 +350,7 @@ CFE_Status_t CS_ComputeApp(CS_Res_App_Table_Entry_t *ResultsEntry, uint32 *Compu
{
CFE_EVS_SendEvent(CS_COMPUTE_APP_PLATFORM_DBG_EID, CFE_EVS_EventType_DEBUG,
"CS cannot get a valid address for %s, due to the platform", ResultsEntry->Name);
ResultAddressValid = false;
Result = CS_ERROR;
Result = CS_ERROR;
}
else
{
Expand Down

0 comments on commit cabac30

Please sign in to comment.