Checklist (Please check before submitting)
Is your feature request related to a problem? Please describe.
Inline functions CF_CmdAcc and CF_CmdRej are one-liners so they are mostly unecessary.
Describe the solution you'd like
Replace their use and remove the functions.
Additional context
|
/************************************************************************/ |
|
/** @brief Increment the command accepted counter. |
|
* |
|
* @par Assumptions, External Events, and Notes: |
|
* None |
|
*/ |
|
static inline void CF_CmdAcc(void) |
|
{ |
|
++CF_AppData.hk.counters.cmd; |
|
} |
|
|
|
/************************************************************************/ |
|
/** @brief Increment the command rejected counter. |
|
* |
|
* @par Assumptions, External Events, and Notes: |
|
* None |
|
* |
|
*/ |
|
static inline void CF_CmdRej(void) |
|
{ |
|
++CF_AppData.hk.counters.err; |
|
} |
Requester Info
Haven Carlson - NASA
Checklist (Please check before submitting)
Is your feature request related to a problem? Please describe.
Inline functions CF_CmdAcc and CF_CmdRej are one-liners so they are mostly unecessary.
Describe the solution you'd like
Replace their use and remove the functions.
Additional context
CF/fsw/src/cf_cmd.h
Lines 79 to 100 in 50c6b04
Requester Info
Haven Carlson - NASA