Index: firmware/App/Modes/ModeGenIdle.c =================================================================== diff -u -re52fb9e8ad2d770523af286fa8d756595c3cac5e -r584e8de6d105cb3a91fdcdf51d4f28e2d140fb7c --- firmware/App/Modes/ModeGenIdle.c (.../ModeGenIdle.c) (revision e52fb9e8ad2d770523af286fa8d756595c3cac5e) +++ firmware/App/Modes/ModeGenIdle.c (.../ModeGenIdle.c) (revision 584e8de6d105cb3a91fdcdf51d4f28e2d140fb7c) @@ -54,7 +54,7 @@ // ********** private data ********** -static U32 dataPublishCounter; ///< Used to schedule gen idle data publication to CAN bus. +static U32 dataPublishCounter = 0; ///< Used to schedule gen idle data publication to CAN bus. static DG_GEN_IDLE_MODE_STATE_T genIdleState; ///< Currently active generation idle state. // NOTE: the bad fill state must be initialized here and not in the transition function since in case of a bad fill, the transition function is called // several times to drain and fill and handle a bad fill.