fsw/src/sample_app.c
void SAMPLE_ResetCounters( const SAMPLE_ResetCounters_t *Msg )
{

    Sample_AppData.CmdCounter = 0;
    Sample_AppData.ErrCounter = 0;

    CFE_EVS_SendEvent(SAMPLE_COMMANDRST_INF_EID,
                      CFE_EVS_INFORMATION,
                      "SAMPLE: RESET command");

    return;

}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **/
/*  Name:  SAMPLE_ResetCounters                                               */
/*                                                                            */
/*  Purpose:                                                                  */
/*         This function resets all the global counter variables that are     */
/*         part of the task telemetry.                                        */
/*                                                                            */
/* * * * * * * * * * * * * * * * * * * * * * * *  * * * * * * *  * *  * * * * */


This function resets all the global counter variables that are
part of the task telemetry.


This function resets all the global counter variables that are part of the task telemetry .
void SAMPLE_ResetCounters( const SAMPLE_ResetCounters_t *Msg )
{
    Sample_AppData.CmdCounter = 0;
    Sample_AppData.ErrCounter = 0;
    CFE_EVS_SendEvent(SAMPLE_COMMANDRST_INF_EID,
                      CFE_EVS_INFORMATION,
                      "SAMPLE: RESET command");
    return;
}
void SAMPLE_ResetCounters ( const SAMPLE_ResetCounters_t * Msg ) { Sample_AppData . CmdCounter = 0 ; Sample_AppData . ErrCounter = 0 ; CFE_EVS_SendEvent ( SAMPLE_COMMANDRST_INF_EID , CFE_EVS_INFORMATION , " " ) ; return ; }
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
Name:  SAMPLE_ResetCounters
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Name : SAMPLE_ResetCounters