Skip to content

Commit

Permalink
Merge pull request #126 from thnkslprpt/fix-125-standardize-naming
Browse files Browse the repository at this point in the history
Fix #125, Standardize CI_LAB function names
  • Loading branch information
dmknutsen authored Nov 8, 2023
2 parents 2930b94 + 680d07c commit fbe0c68
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions config/default_ci_lab_fcncodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@
/*
** 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

#endif
2 changes: 1 addition & 1 deletion fsw/src/ci_lab_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ CI_LAB_GlobalData_t CI_LAB_Global;
/* 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 @@ -66,7 +66,7 @@ typedef struct
** 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_ResetCounters_Internal(void);
void CI_LAB_ReadUpLink(void);
Expand Down

0 comments on commit fbe0c68

Please sign in to comment.