Index: firmware/App/Controllers/BalancingChamber.h =================================================================== diff -u -rd8914df8f4eb91158741ae38302255709f0a2be4 -r5b964c8b60808451ece4379fb74aee9e7532b034 --- firmware/App/Controllers/BalancingChamber.h (.../BalancingChamber.h) (revision d8914df8f4eb91158741ae38302255709f0a2be4) +++ firmware/App/Controllers/BalancingChamber.h (.../BalancingChamber.h) (revision 5b964c8b60808451ece4379fb74aee9e7532b034) @@ -47,19 +47,6 @@ #define BAL_CHAMBER_TIME_BASED_BAND_2 290 ///< Speed at D48 pump runs when the flowrate is between 60 mL/min and 70 mL/min. #define BAL_CHAMBER_TIME_BASED_BAND_3 330 ///< Speed at D48 pump runs when the flowrate is between 70 mL/min and 80 mL/min. -/// balancing chamber data structure -typedef struct -{ - U32 balChamberExecState; ///< Balancing chamber execution state - U32 balChamberSWState; ///< Balancing chamber switching state (state 1 or state 2) - F32 balChamberSWFreq; ///< Balancing chamber switching frequency - BOOL isSpentFillComplete; ///< Whether balancing chamber spent fill completed or not - 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 ********** void initBalanceChamber( void ); // Initialize balancing chamber unit @@ -87,6 +74,7 @@ BOOL getBalancingChamberStatus(void); // Get Balancing Chamber Switching Status BOOL isBalChamberSwitchImminent( void ); // Get the balancing chamber is within the valve-close window (50 ms) before switching. BOOL getBalChamberFreshSideValvesClosedStatus( void ); // Get the balancing chamber fresh side valve close status +BOOL getBalancingChamberStatus( void ); // Get Balancing Chamber Switching Status BOOL testDDBalChamberDataPublishIntervalOverride( MESSAGE_T *message ); // To override the balancing chamber data publish interval BOOL testBalChamberSwFreqOverride( MESSAGE_T *message ); // To override the balancing chamber switching frequency