Index: firmware/App/Controllers/BalancingChamber.c =================================================================== diff -u -rfd897db8177752330ad08d877e0a13620513dbdc -ra031619fe27eab539c3b542ee96df17ff4370b93 --- firmware/App/Controllers/BalancingChamber.c (.../BalancingChamber.c) (revision fd897db8177752330ad08d877e0a13620513dbdc) +++ firmware/App/Controllers/BalancingChamber.c (.../BalancingChamber.c) (revision a031619fe27eab539c3b542ee96df17ff4370b93) @@ -105,7 +105,7 @@ static BOOL isBalChamberSwitchingOffRequested; ///< Flag indicating that a request was made to deactivate balancing chamber switching. //TODO: remove later once level sensor working -static U32 bicarbChamberPeriodicFillCounter; +static U32 bicarbChamberPeriodicFillCounter; // ********** private function prototypes ********** @@ -539,7 +539,7 @@ freshDialPressure = getFilteredPressure( D18_PRES ); spentDialPressure = getFilteredPressure( D51_PRES ); - if ( getTestConfigStatus( TEST_CONFIG_DD_FP_ENABLE_BETA_1_0_HW ) == TRUE ) + if ( TRUE == getTestConfigStatus( TEST_CONFIG_DD_FP_ENABLE_BETA_1_0_HW ) ) { //Set Trimmer heater Target temp every BC cycle to catch up fresh dialysate temp setHeaterTargetTemperature( D45_HEAT, getFilteredTemperatureValue( D4_TEMP ) ); @@ -841,10 +841,11 @@ acidVolume = getF32OverrideValue( &acidDoseVolume ); bicarbVolume = getF32OverrideValue( &bicarbDoseVolume ); } + freshDialPressure = getFilteredPressure( D18_PRES ); spentDialPressure = getFilteredPressure( D51_PRES ); - if ( getTestConfigStatus( TEST_CONFIG_DD_FP_ENABLE_BETA_1_0_HW ) == TRUE ) + if ( TRUE == getTestConfigStatus( TEST_CONFIG_DD_FP_ENABLE_BETA_1_0_HW ) ) { //Set Trimmer heater Target temp every BC cycle to catch up fresh dialysate temp setHeaterTargetTemperature( D45_HEAT, getFilteredTemperatureValue( D4_TEMP ) ); @@ -1098,7 +1099,7 @@ // Check if a request made was to activate the balancing chamber switching. if ( TRUE == isBalChamberSwitchingOnRequested ) { - //Clear the request flag to indicate that the request was processed. + //Clear request was processed. isBalChamberSwitchingOnRequested = FALSE; // Set flag to indicate that balancing chamber switching is active @@ -1259,6 +1260,7 @@ d48SpeedPostRangeCheck = RANGE( spentDialPumpSpeed, minD48Speed, maxD48Speed ); + // Do not turn on the pump if the switching only is enabled in the standby mode. if ( FALSE == getBalChamberSwitchingOnlyStatus() ) { Index: firmware/App/Controllers/DryBiCart.c =================================================================== diff -u -rfd897db8177752330ad08d877e0a13620513dbdc -ra031619fe27eab539c3b542ee96df17ff4370b93 --- firmware/App/Controllers/DryBiCart.c (.../DryBiCart.c) (revision fd897db8177752330ad08d877e0a13620513dbdc) +++ firmware/App/Controllers/DryBiCart.c (.../DryBiCart.c) (revision a031619fe27eab539c3b542ee96df17ff4370b93) @@ -50,7 +50,7 @@ #define DRY_BICART_FILL_DURATION_DIFF_MS 750 ///< Fill duration difference between last and current fill cycle. #define PRESSURE_OFFSET 2 ///< Dry bicart pressure offset #define DRY_BICART_FILL_COMPLETE_PRESSURE ( 10.0F + PRESSURE_OFFSET ) ///< Maximum pressure reached to indicate the dry bicart fill being completed. -#define DRY_BICART_FILL_INITIATE_PRESSURE 3.0F ///< Minimum pressure required to initiate the dry bicart fill process. +#define DRY_BICART_FILL_INITIATE_PRESSURE 1.5F ///< Minimum pressure required to initiate the dry bicart fill process. #define DRY_BICART_FILL_COMPLETE_SUPPLY_PRESSURE 6.0F ///< Maximum pressure allowed at bicart fill during supply process/state #define DRY_BICART_FILL_INITIATE_SUPPLY_PRESSURE 3.0F ///< Minimum pressure required to initiate the dry bicart fill during supply process/state @@ -499,6 +499,7 @@ break; } + (void)dryBicartSubstate; // Publish dry bicart data publishDryBicartData(); } @@ -1434,6 +1435,7 @@ // open inlet water to bicart setValveState( D65_VALV, VALVE_STATE_OPEN ); + //setValveState( D3_VALV, VALVE_STATE_OPEN ); return state; } Index: firmware/App/Monitors/Level.c =================================================================== diff -u -rdeba34e5074da9ac97d8bcbe995f554eec5c70ed -ra031619fe27eab539c3b542ee96df17ff4370b93 --- firmware/App/Monitors/Level.c (.../Level.c) (revision deba34e5074da9ac97d8bcbe995f554eec5c70ed) +++ firmware/App/Monitors/Level.c (.../Level.c) (revision a031619fe27eab539c3b542ee96df17ff4370b93) @@ -7,8 +7,8 @@ * * @file Level.c * -* @author (last) Raghu Kallala -* @date (last) 23-Feb-2026 +* @author (last) Sameer Kalliadan Poyil +* @date (last) 26-Mar-2026 * * @author (original) Vinayakam Mani * @date (original) 14-Oct-2024