Index: firmware/App/Controllers/BalancingChamber.h =================================================================== diff -u -re4713cc2340511b387f2c756f68dd9a06b4f9dea -rc71a1a94932ab2760fa3002e9740bf00840cd6b5 --- firmware/App/Controllers/BalancingChamber.h (.../BalancingChamber.h) (revision e4713cc2340511b387f2c756f68dd9a06b4f9dea) +++ firmware/App/Controllers/BalancingChamber.h (.../BalancingChamber.h) (revision c71a1a94932ab2760fa3002e9740bf00840cd6b5) @@ -50,7 +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) - U08 isBalChamberSwitchingActive; ///< Balancing chamber switching status + BOOL isBalChamberSwitchingActive; ///< Balancing chamber switching status } BAL_CHAMBER_DATA_T; // ********** public function prototypes ********** @@ -59,8 +59,7 @@ void transitionToBalChamberFill( void ); // Prepares for transition to balancing chamber execution U32 execBalancingChamberControl( void ); // Execute the balancing chamber state machine -void activateBalChamberSwitching( void ); // Activates Balancing Chamber Switching. -void deactivateBalChamberSwitching( void ); // Deactivates Balancing Chamber Switching. +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