Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #125, Standardize CI_LAB function names #126

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
/* and acts accordingly to process them. */
/* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **/
void CI_Lab_AppMain(void)
void CI_LAB_AppMain(void)

Check notice

Code scanning / CodeQL-coding-standard

Long function without assertion Note

All functions of more than 10 lines should have at least one assertion.
{
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