Index: firmware/App/Tasks/TaskGeneral.c =================================================================== diff -u -r51c6a24b30643c8ce296ebfe1d703f289ffafe97 -ra635fc9674913460c74831add7886c85d8aaf8f1 --- firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 51c6a24b30643c8ce296ebfe1d703f289ffafe97) +++ firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision a635fc9674913460c74831add7886c85d8aaf8f1) @@ -22,6 +22,7 @@ #include "SystemComm.h" #include "WatchdogMgmt.h" #include "TaskGeneral.h" +#include "RTC.h" #ifdef RM46_EVAL_BOARD_TARGET #include "CPLD.h" @@ -48,6 +49,10 @@ // manage data received from other sub-systems execSystemCommRx(); + // Control RTC + // After CommRx and and before execOperationModes() + execRTC(); + // run operation mode state machine execOperationModes();