-
Notifications
You must be signed in to change notification settings - Fork 47
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
Some minor out-of-family naming/consistency issues in CF could be updated #387
Labels
Comments
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Jun 6, 2023
2 tasks
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Aug 19, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Oct 26, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Dec 3, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Dec 3, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Dec 3, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Dec 6, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Dec 6, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Dec 6, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Dec 6, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Dec 6, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Dec 6, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Dec 6, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Dec 6, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Dec 10, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Dec 16, 2023
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Jan 14, 2024
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Jan 14, 2024
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Jan 14, 2024
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Mar 24, 2024
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Mar 24, 2024
thnkslprpt
added a commit
to thnkslprpt/CF
that referenced
this issue
Sep 27, 2024
dzbaker
added a commit
that referenced
this issue
Oct 3, 2024
…nd-consistency-issues Fix #387, Update minor out-of-family naming/consistency issues in CF
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
Describe the bug
CF is the only app to still use
CFE_MSG_SetMsgTime()
to timestamp the HK packet, rather thanCFE_SB_TimeStampMsg()
:CF/fsw/src/cf_app.c
Lines 47 to 51 in 0f18ae4
No
memset
to zero-out the global data structure upon initialization.CF checks the return value of the call to
CFE_EVS_SendEvent()
at the end of a successful initialization - not incorrect but unnecessary. Returns fromCFE_EVS_SendEvent()
are only checked a handful of times across cFS out of several thousand instances. Also, CF does not check returns from this function anywhere else in the source code.CF/fsw/src/cf_app.c
Lines 251 to 257 in 0f18ae4
In
CF_AppMain()
, there is a check forCFE_SUCCESS
and for a null pointer of the buffer passed in toCFE_SB_ReceiveBuffer()
- this is guaranteed byCFE_SB_ReceiveBuffer()
to not be possible and is therefore unnecessary. cFE and almost all other apps do not do this.CF/fsw/src/cf_app.c
Lines 336 to 343 in 0f18ae4
Some other naming inconsistencies that could be updated to match standard cFS patterns such as common variables and function/command names also exist.
Expected behavior
Align with cFS where appropriate - consistency makes maintenance easier, and improves usability for consumers of cFS and the open-source apps.
Reporter Info
Avi Weiss @thnkslprpt
The text was updated successfully, but these errors were encountered: