Index: firmware/App/Modes/ModeInitPOST.c =================================================================== diff -u -r313982ccc772f1bbe182877dff7e00381b04e0f4 -r9b11048fec84e5340357e6d35376c12966f04079 --- firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 313982ccc772f1bbe182877dff7e00381b04e0f4) +++ firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 9b11048fec84e5340357e6d35376c12966f04079) @@ -1,30 +1,31 @@ /************************************************************************** * -* Copyright (c) 2024-2024 Diality Inc. - All Rights Reserved. +* Copyright (c) 2024-2026 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 ModeInitPOST.c * -* @author (last) Vinayakam Mani -* @date (last) 05-Aug-2024 +* @author (last) Arpita Srivastava +* @date (last) 13-Jul-2026 * * @author (original) Vinayakam Mani -* @date (original) 05-Aug-2024 +* @date (original) 07-Aug-2024 * ***************************************************************************/ #include "reg_crc.h" // Used to hold reset reason code at startup before bits get cleared #include "reg_system.h" // Used to access exception status registers for reset reason code at startup +#include "BalancingChamber.h" #include "ConcentratePumps.h" #include "ConductivitySensors.h" #include "FpgaDD.h" //#include "Integrity.h" #include "Messaging.h" #include "ModeInitPOST.h" -//#include "NVDataMgmt.h" +#include "NVMgmt.h" #include "OperationModes.h" #include "Pressure.h" #include "SafetyShutdown.h" @@ -88,6 +89,8 @@ // resetPressuresPOSTState(); resetWatchdogPOSTState(); resetSafetyShutdownPOSTState(); + // Deactivate Balancing Chamber Switching + requestBalChamberSwitching( FALSE ); return postState; } @@ -133,7 +136,7 @@ break; case DD_POST_STATE_NVDATAMGMT: - //testStatus = execNVDataMgmtSelfTest(); + //testStatus = execNVMSelfTest(); postState = handlePOSTStatus( testStatus ); break;