Skip to content

Commit

Permalink
Merge pull request #83 from thnkslprpt/fix-82-convert-boolean-integer…
Browse files Browse the repository at this point in the history
…s-to-bool

Fix #82, Convert integers holding boolean truth values to `bool`
  • Loading branch information
dzbaker authored Feb 8, 2024
2 parents d9c1034 + cabac30 commit f29e12d
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 f29e12d

Please sign in to comment.