Index: firmware/App/Modes/ModeGenIdle.c =================================================================== diff -u -r11c24f8ff3e3a7247ac69ca90f244d12727e25a0 -r201bc72d7f3f75f27662c66fa2f0c9851584f6f1 --- firmware/App/Modes/ModeGenIdle.c (.../ModeGenIdle.c) (revision 11c24f8ff3e3a7247ac69ca90f244d12727e25a0) +++ firmware/App/Modes/ModeGenIdle.c (.../ModeGenIdle.c) (revision 201bc72d7f3f75f27662c66fa2f0c9851584f6f1) @@ -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.