Index: firmware/App/Controllers/BalancingChamber.h =================================================================== diff -u -r93774c1a907fb9ce8e5c784e77ed3483c04a525b -r6d0bd19fb192dcd272fa773e8833862cc8a8f750 --- firmware/App/Controllers/BalancingChamber.h (.../BalancingChamber.h) (revision 93774c1a907fb9ce8e5c784e77ed3483c04a525b) +++ firmware/App/Controllers/BalancingChamber.h (.../BalancingChamber.h) (revision 6d0bd19fb192dcd272fa773e8833862cc8a8f750) @@ -7,8 +7,8 @@ * * @file BalancingChamber.h * -* @author (last) Vinayakam Mani -* @date (last) 03-Oct-2025 +* @author (last) Arpita Srivastava +* @date (last) 21-Mar-2026 * * @author (original) Vinayakam Mani * @date (original) 28-Jan-2025 @@ -50,6 +50,7 @@ U32 currentBalChamberSwitchingCounter; ///< Current balancing chamber switching counter BOOL isPressureStabilizedDuringFill; ///< Whether pressure stabilized during fill or not BOOL balChamberSWOnlyState; ///< Balancing chamber switching only status ( On/Off) + BOOL isBalChamberSwitchingActive; ///< Balancing chamber switching status } BAL_CHAMBER_DATA_T; // ********** public function prototypes ********** @@ -58,6 +59,7 @@ void transitionToBalChamberFill( void ); // Prepares for transition to balancing chamber execution U32 execBalancingChamberControl( void ); // Execute the balancing chamber state machine +void requestBalChamberSwitching( BOOL activate ); // Activates or Deactivates Balancing Chamber Switching. void updateBalChamberSwitchingPeriod( void ); // Update the balancing chamber switching period BAL_CHAMBER_EXEC_STATE_T getCurrentBalancingChamberExecState( void ); // Get the current state of the balancing chamber execution F32 getBalChamberSwitchingFreq( void ); // Get the balancing chamber switching frequency