Index: firmware/App/Modes/ModeGenIdle.c =================================================================== diff -u -r75c1e08603496809a6554b7540c9b78a66cb3733 -r741339ec2ea3bb95f2ab06d527bb42f30d7f4721 --- firmware/App/Modes/ModeGenIdle.c (.../ModeGenIdle.c) (revision 75c1e08603496809a6554b7540c9b78a66cb3733) +++ firmware/App/Modes/ModeGenIdle.c (.../ModeGenIdle.c) (revision 741339ec2ea3bb95f2ab06d527bb42f30d7f4721) @@ -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.