Index: firmware/App/Controllers/Ultrafiltration.c =================================================================== diff -u -rd748813399d38ef5b71d760e327e368cc82d7a38 -r5d60262836ddc8f80ac98f07f2cfd6707a5b7b79 --- firmware/App/Controllers/Ultrafiltration.c (.../Ultrafiltration.c) (revision d748813399d38ef5b71d760e327e368cc82d7a38) +++ firmware/App/Controllers/Ultrafiltration.c (.../Ultrafiltration.c) (revision 5d60262836ddc8f80ac98f07f2cfd6707a5b7b79) @@ -8,7 +8,7 @@ * @file Ultrafiltration.c * * @author (last) Vinayakam Mani -* @date (last) 09-Feb-2026 +* @date (last) 31-Jul-2025 * * @author (original) Vinayakam Mani * @date (original) 28-Jul-2025 @@ -104,22 +104,9 @@ // Calculate UF volume and determine UF pause/run updateUFRequest(); - // Trimmer heater enabled, hence UF temp compensation is optional - if ( getTestConfigStatus( TEST_CONFIG_DD_ENABLE_UF_TEMP_COMPENSATION ) == TRUE ) - { - // Compensate balancing error at defined interval - UpdateUFCompensation(); - } - else if ( TRUE == isUFRateUpdated ) - { - //get updated UF rate - compUFrate = getTDUFRate(); + // Compensate balancing error at defined interval + UpdateUFCompensation(); - // Update UF rate - setConcentratePumpTargetSpeed( D76_PUMP, compUFrate, DOSING_CONT_VOLUME ); - isUFRateUpdated = FALSE; - } - // execute current ultrafiltration exec state switch ( ufExecState ) { @@ -194,10 +181,10 @@ /*********************************************************************//** * @brief - * The updateUFRequest function updates the ultrafiltration requested - * flag to true or false based on the conditions. + * The updateUFRequest function updates the ultrafiltration rate per iteration + * and of the ultrafiltration. * @details \b Inputs: TD Uf rate, TD Dialysate flow rate and bypass flag - * @details \b Outputs: isUltrafiltrationRequested + * @details \b Outputs: ufVolumeperIteration , isUltrafiltrationRequested * @return none. *************************************************************************/ static void updateUFRequest( void )