Skip to content

Commit

Permalink
Update booleans, use new MSG API, other fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shintoo committed Feb 15, 2021
1 parent dbaf51e commit f5e07e6
Show file tree
Hide file tree
Showing 24 changed files with 466 additions and 466 deletions.
8 changes: 4 additions & 4 deletions fsw/platform_inc/sch_platform_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@
** Dictates the maximum message ID that can be used in the Message Definition Table.
**
** \par Limits
** Must be less than or equal to #CFE_SB_HIGHEST_VALID_MSGID and greater than SCH_MDT_MIN_MSG_ID
** Must be less than or equal to #CFE_PLATFORM_SB_HIGHEST_VALID_MSGID and greater than SCH_MDT_MIN_MSG_ID
*/
#define SCH_MDT_MAX_MSG_ID CFE_SB_HIGHEST_VALID_MSGID
#define SCH_MDT_MAX_MSG_ID CFE_PLATFORM_SB_HIGHEST_VALID_MSGID


/**
Expand Down Expand Up @@ -260,7 +260,7 @@
** the #OS_MAX_PATH_LEN value.
*/

#define SCH_SCHEDULE_FILENAME "/cf/apps/sch_def_schtbl.tbl"
#define SCH_SCHEDULE_FILENAME "/cf/sch_def_schtbl.tbl"


/**
Expand All @@ -275,7 +275,7 @@
** the #OS_MAX_PATH_LEN value.
*/

#define SCH_MESSAGE_FILENAME "/cf/apps/sch_def_msgtbl.tbl"
#define SCH_MESSAGE_FILENAME "/cf/sch_def_msgtbl.tbl"


/** \schcfg Mission specific version number for SCH application
Expand Down
8 changes: 4 additions & 4 deletions fsw/public_inc/sch_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,20 @@ void SCH_DisableProcessing(void);
** \brief Obtains SCH Application processing state
**
** \par Description
** This API returns a TRUE/FALSE indication as to whether the SCH Application
** This API returns a true/false indication as to whether the SCH Application
** is allowed to process the contents of the Schedule table.
**
** \par Assumptions, External Events, and Notes:
** None
**
** \returns
** \retcode #TRUE \retdesc Schedule Table Processing is Enabled \endcode
** \retcode #FALSE \retdesc Schedule Table Processing is Disabled \endcode
** \retcode #true \retdesc Schedule Table Processing is Enabled \endcode
** \retcode #false \retdesc Schedule Table Processing is Disabled \endcode
** \endreturns
**
**
******************************************************************************/
boolean SCH_GetProcessingState(void);
bool SCH_GetProcessingState(void);

#endif /* _sch_api_ */

Expand Down
2 changes: 1 addition & 1 deletion fsw/src/sch_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void SCH_DisableProcessing(void)
**
** NOTE: For complete prolog information, see 'sch_api.h'.
********************************************************************/
boolean SCH_GetProcessingState(void)
bool SCH_GetProcessingState(void)
{
return (SCH_LibData.ProcessingDisabledCtr == 0);
}
2 changes: 1 addition & 1 deletion fsw/src/sch_apipriv.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void SCH_DisableProcessing(void);
** None
**
*************************************************************************/
boolean SCH_GetProcessingState(void);
bool SCH_GetProcessingState(void);

#endif /* _sch_apipriv_ */

Expand Down
Loading

0 comments on commit f5e07e6

Please sign in to comment.