Index: firmware/App/Controllers/BalancingChamber.h =================================================================== diff -u -r97eba3d39e6ddf44276b77b1aea1171805ca142d -r0bcd9e3ddfeb40efa313e7ed8d8d58f996a13960 --- firmware/App/Controllers/BalancingChamber.h (.../BalancingChamber.h) (revision 97eba3d39e6ddf44276b77b1aea1171805ca142d) +++ firmware/App/Controllers/BalancingChamber.h (.../BalancingChamber.h) (revision 0bcd9e3ddfeb40efa313e7ed8d8d58f996a13960) @@ -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