Index: firmware/App/Tasks/TaskGeneral.c =================================================================== diff -u -rdcd360fb4dc37db2dcbeb7fb14fb327fe68235f4 -r7d4711edd7b40cd3e29f43e766f79a8a09586fe9 --- firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision dcd360fb4dc37db2dcbeb7fb14fb327fe68235f4) +++ firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 7d4711edd7b40cd3e29f43e766f79a8a09586fe9) @@ -1,14 +1,14 @@ /************************************************************************** * -* Copyright (c) 2019-2021 Diality Inc. - All Rights Reserved. +* Copyright (c) 2019-2024 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file TaskGeneral.c * -* @author (last) Dara Navaei -* @date (last) 12-Sep-2021 +* @author (last) Dong Nguyen +* @date (last) 27-Sep-2022 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 @@ -23,6 +23,7 @@ #include "DrainPump.h" #include "Fans.h" #include "Heaters.h" +#include "Integrity.h" #include "NVDataMgmt.h" #include "OperationModes.h" #include "Reservoirs.h" @@ -87,7 +88,12 @@ // Monitor DG voltages execVoltagesMonitor(); +#endif + // run operation mode state machine + execOperationModes(); + +#ifndef BOARD_WITH_NO_HARDWARE // Monitor thermistors state machine execThermistors(); @@ -111,16 +117,14 @@ // Manage switches monitor execSwitches(); -#endif -#ifndef DISABLE_HEATERS_AND_TEMPS - // Heaters controller execHeaters(); -#endif - // run operation mode state machine - execOperationModes(); + // Monitor RAM error status + execRAMMonitor(); +#endif + // Run non-volatile data management state machine that sends the data record // to Dialin execNVDataMgmtProcessRecord();