Index: firmware/App/Controllers/BalancingChamber.h =================================================================== diff -u -r6d0bd19fb192dcd272fa773e8833862cc8a8f750 -r8348015aa77e1ee2c4c20e9f8e2c45b59bcf3f17 --- firmware/App/Controllers/BalancingChamber.h (.../BalancingChamber.h) (revision 6d0bd19fb192dcd272fa773e8833862cc8a8f750) +++ firmware/App/Controllers/BalancingChamber.h (.../BalancingChamber.h) (revision 8348015aa77e1ee2c4c20e9f8e2c45b59bcf3f17) @@ -38,6 +38,7 @@ #define BC_FRESH_FILL_PRESSURE_PSIG 15.0F ///< Fresh side pressure (drop) during balancing chamber switching, indicates fill has been started / in progress. #define BC_SPENT_FILL_PRESSURE_PSIG 29.0F ///< Spent side pressure (drop) during balancing chamber switching, indicates fill has been started / in progress. #define BAL_CHAMBER_FILL_VOLUME_ML 30.0F ///< Balancing chamber fill/drain volume per batch operation. +#define BAL_CHAMBER_TIME_BASED_D48_SPEED_RPM 250 ///< Minimum D48 speed and fixed speed for time-based balancing chamber switching. /// balancing chamber data structure typedef struct @@ -63,6 +64,7 @@ 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 +F32 getBalChamberActiveDialysateFlowrate( void ); // Get the active Qd used by balancing chamber timing U32 getDialDeliveryProgressStatus( void ); // Get the dialysate delivery in progress status BOOL getBalancingChamberFillinProgressStatus( void ); // Get the balancing chamber fill in progress status void valveControlForBCClosedState( void ); // Closes all balancing chamber valves