Index: firmware/App/Controllers/BalancingChamber.c =================================================================== diff -u -r3e6a23f30e6a48db1aa6490388cc2179236888c0 -rae31b4c999dccae70fb40fb9d98a4380ce2c7415 --- firmware/App/Controllers/BalancingChamber.c (.../BalancingChamber.c) (revision 3e6a23f30e6a48db1aa6490388cc2179236888c0) +++ firmware/App/Controllers/BalancingChamber.c (.../BalancingChamber.c) (revision ae31b4c999dccae70fb40fb9d98a4380ce2c7415) @@ -6,10 +6,10 @@ * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file BalancingChamber.c +*f +* @author (last) Dara Navaei +* @date (last) 18-Mar-2026 * -* @author (last) Jashwant Gantyada -* @date (last) 13-Mar-2026 -* * @author (original) Vinayakam Mani * @date (original) 28-Jan-2025 * @@ -70,7 +70,7 @@ static U32 balChamberValveClosePeriod; ///< Close balancing chamber valves with the defined time prior switching state. static U32 currentBalChamberSwitchingCounter; ///< Counter (in task interval) to monitor the timing spent during balancing chamber fill/drain operation. static BOOL isBalChamberFillInProgress; ///< Flag indicating balancing chamber fill/drain is in progress. -static BOOL isPressureStabilizedDuringFill; ///< Flag indicating that the pressure is stablized due to fill complete. +static BOOL isPressureStabilizedDuringFill; ///< Flag indicating that the pressure is stabilized due to fill complete. static BAL_CHAMBER_SW_STATE_T balChamberSWState; ///< Current balancing chamber switching state ( state 1 or state 2). static U32 balChamberDataPublicationTimerCounter; ///< Used to schedule balancing chamber data publication to CAN bus. static U32 balChamberFillPressureDropCounter; ///< Counter to check balancing chamber valves opened and there by pressure drop is seen. @@ -88,13 +88,12 @@ static BOOL isBalChamberSwitchingOnRequested; ///< Flag indicating that a request was made to activate balancing chamber switching. static BOOL isBalChamberSwitchingOffRequested; ///< Flag indicating that a request was made to deactivate balancing chamber switching. -//TODO: remove later once level sensor working -static U32 bicarbChamberPeriodicFillCounter; ///< Counter for checking the timeout for drybicart chamber fill request. - static U32 currentBalChamberFillCounter; ///< Counter (in task interval) to monitor the timing spent for the spent side fill operation. static U32 balChamberFillTimeoutCount; ///< Timeout count (in task interval) to detect BC fill timeout. static S32 diffSpentFillCompleteCount; ///< Difference between spent target fill to actual fill count static BOOL isSpentFillComplete; ///< Flag indicating spent side fill complete. +//TODO: remove later once level sensor working +static U32 bicarbChamberPeriodicFillCounter; // ********** private function prototypes ********** @@ -250,7 +249,6 @@ } } - // execute current balancing chamber exec state switch ( balChamberExecState ) { case BAL_CHAMBER_STATE_IDLE: @@ -1262,7 +1260,7 @@ { BOOL result = FALSE; - // Verify tester has logged in with TD + // Verify tester has logged in with DD if ( TRUE == isTestingActivated() ) { // Verify payload length is valid