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 #26, Resolve strict cppcheck style warnings #27

Merged
merged 1 commit into from
May 11, 2022
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
16 changes: 8 additions & 8 deletions fsw/src/lc_cmds.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ void LC_ResetCounters(void);
* \par Assumptions, External Events, and Notes:
* None
*
* \param [in] StartIndex Start of area to reset (base zero)
* \param [in] EndIndex End of area to reset (base zero)
* \param [in] ResetCmd Reset AP stats command does not reset all fields
* \param [in] StartIndex Start of area to reset (base zero)
* \param [in] EndIndex End of area to reset (base zero)
* \param [in] ResetStatsCmd Reset AP stats command does not reset all fields
*
* \sa #LC_ResetAPStatsCmd
*/
void LC_ResetResultsAP(uint32 StartIndex, uint32 EndIndex, bool ResetCmd);
void LC_ResetResultsAP(uint32 StartIndex, uint32 EndIndex, bool ResetStatsCmd);

/**
* \brief Reset WP results
Expand All @@ -94,13 +94,13 @@ void LC_ResetResultsAP(uint32 StartIndex, uint32 EndIndex, bool ResetCmd);
* \par Assumptions, External Events, and Notes:
* None
*
* \param [in] StartIndex Start of area to reset (base zero)
* \param [in] EndIndex End of area to reset (base zero)
* \param [in] ResetCmd Reset WP stats command does not reset all fields
* \param [in] StartIndex Start of area to reset (base zero)
* \param [in] EndIndex End of area to reset (base zero)
* \param [in] ResetStatsCmd Reset WP stats command does not reset all fields
*
* \sa #LC_ResetWPStatsCmd
*/
void LC_ResetResultsWP(uint32 StartIndex, uint32 EndIndex, bool ResetCmd);
void LC_ResetResultsWP(uint32 StartIndex, uint32 EndIndex, bool ResetStatsCmd);

/**
* \brief Sample actionpoints request
Expand Down
2 changes: 1 addition & 1 deletion fsw/src/lc_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ int32 LC_UpdateTaskCDS(void)

int32 LC_PerformMaintenance(void)
{
int32 Result = CFE_SUCCESS;
int32 Result;

/*
** Manage tables - allow cFE to perform dump, update, etc.
Expand Down