Index: firmware/App/Modes/BalancingChamber.h =================================================================== diff -u -r48ca7fd644c67920acc29a80b7af379d0a134d1a -rb6d20d9e5c704a9f7ebceea9bb12731dac61fc2a --- firmware/App/Modes/BalancingChamber.h (.../BalancingChamber.h) (revision 48ca7fd644c67920acc29a80b7af379d0a134d1a) +++ firmware/App/Modes/BalancingChamber.h (.../BalancingChamber.h) (revision b6d20d9e5c704a9f7ebceea9bb12731dac61fc2a) @@ -37,19 +37,19 @@ U32 balChamberExecState; ///< Balancing chamber execution state U32 balChamberSWState; ///< Balancing chamber switching state (state 1 or state 2) F32 balChamberSWFreq; ///< Balancing chamber switching frequency - U32 isDialDelInProgress; ///< Whether Dialysate Delivery in progress or not + BOOL isDialDelInProgress; ///< Whether Dialysate Delivery in progress or not U32 balChamberSwPeriod; ///< Balancing chamber switching period - U32 isBalChamberFillInProgress; ///< Whether balancing chamber fill in progress or not + BOOL isBalChamberFillInProgress; ///< Whether balancing chamber fill in progress or not U32 currentBalChamberSwitchingCounter; ///< Current balancing chamber switching counter - U32 isPressureStalbilizedDuringFill; ///< Whether pressure stabilized during fill or not - U32 readyToDeliverDialysate; ///< Ready to deliver dialysate or not + BOOL isPressureStalbilizedDuringFill; ///< Whether pressure stabilized during fill or not + BOOL isDialysateGoodtoDeliver; ///< Ready to deliver dialysate or not } BAL_CHAMBER_DATA_T; // ********** public function prototypes ********** void initBalanceChamber( void ); // Initialize balancing chamber unit void transitionToBalChamberFill( void ); // Prepares for transition to balancing chamber execution -U32 execBalancingChamber( void ); // Execute the balancing chamber state machine +U32 execBalancingChamberControl( void ); // Execute the balancing chamber state machine 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