Skip to content

Commit

Permalink
Fix nasa#125, Standardize ci_lab function names
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Oct 20, 2022
1 parent a5e8b4b commit f7b18c0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fsw/src/ci_lab_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ int32 CI_LAB_ReportHousekeeping(const CFE_MSG_CommandHeader_t *data);
/* and acts accordingly to process them. */
/* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **/
void CI_Lab_AppMain(void)
void CI_LAB_AppMain(void)
{
int32 status;
uint32 RunStatus = CFE_ES_RunStatus_APP_RUN;
Expand Down
2 changes: 1 addition & 1 deletion fsw/src/ci_lab_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
** Note: Except for the entry point (CI_LAB_AppMain), these
** functions are not called from any other source module.
*/
void CI_Lab_AppMain(void);
void CI_LAB_AppMain(void);
void CI_LAB_TaskInit(void);
void CI_LAB_ProcessCommandPacket(CFE_SB_Buffer_t *SBBufPtr);
void CI_LAB_ProcessGroundCommand(CFE_SB_Buffer_t *SBBufPtr);
Expand Down
9 changes: 7 additions & 2 deletions fsw/src/ci_lab_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@
/*
** CI_LAB command codes
*/
#define CI_LAB_NOOP_CC 0
#define CI_LAB_RESET_COUNTERS_CC 1
#define CI_LAB_NOOP_CC 0
#define CI_LAB_RESET_COUNTERS_CC 1
#define CI_LAB_MODIFY_PDU_FILESIZE_CC 2
#define CI_LAB_CORRUPT_PDU_CHECKSUM_CC 3
#define CI_LAB_DROP_PDUS_CC 4
#define CI_LAB_CAPTURE_PDUS_CC 5
#define CI_LAB_STOP_PDU_CAPTURE_CC 6

/*************************************************************************/
/*
Expand Down

0 comments on commit f7b18c0

Please sign in to comment.