Index: firmware/App/Modes/FPModes/ModePreGenPermeate.c =================================================================== diff -u -r00ee92f70b5f2748482955acfcf1ad246e53cfa3 -r4248e8013c4b26843306a10452249b7dd7e42842 --- firmware/App/Modes/FPModes/ModePreGenPermeate.c (.../ModePreGenPermeate.c) (revision 00ee92f70b5f2748482955acfcf1ad246e53cfa3) +++ firmware/App/Modes/FPModes/ModePreGenPermeate.c (.../ModePreGenPermeate.c) (revision 4248e8013c4b26843306a10452249b7dd7e42842) @@ -7,8 +7,8 @@ * * @file ModePreGenPermeate.c * -* @author (last) Raghu Kallala -* @date (last) 31-Mar-2026 +* @author (last) Sameer Kalliadan Poyil +* @date (last) 23-Apr-2026 * * @author (original) Michael Garthwaite * @date (original) 08-Sep-2025 @@ -563,14 +563,14 @@ BOOL testValidatePreGenPChangeReq( U32 newSubMode ) { BOOL result = FALSE; - LEVEL_STATE_T level = getLevelStatus( P25_LEVL ); + LVL_STATE_T level = getFloaterStatus( P25_LEVL ); if ( newSubMode < NUM_OF_FP_PRE_GENW_MODE_STATES ) { switch ( newSubMode ) { case FP_PRE_GENP_CONCENTRATE_FLUSH: - result = (( LEVEL_STATE_HIGH == level ) ? TRUE : FALSE); + result = (( LVL_STATE_HIGH == level ) ? TRUE : FALSE); break; case FP_PRE_GENP_INLET_PRESSURE_CHECK: Index: firmware/App/Modes/FPModes/StateFlushConcentrate.c =================================================================== diff -u -r00ee92f70b5f2748482955acfcf1ad246e53cfa3 -r4248e8013c4b26843306a10452249b7dd7e42842 --- firmware/App/Modes/FPModes/StateFlushConcentrate.c (.../StateFlushConcentrate.c) (revision 00ee92f70b5f2748482955acfcf1ad246e53cfa3) +++ firmware/App/Modes/FPModes/StateFlushConcentrate.c (.../StateFlushConcentrate.c) (revision 4248e8013c4b26843306a10452249b7dd7e42842) @@ -7,8 +7,8 @@ * * @file StateFlushConcentrate.c * -* @author (last) Raghu Kallala -* @date (last) 24-Feb-2026 +* @author (last) Sameer Kalliadan Poyil +* @date (last) 23-Apr-2026 * * @author (original) “rkallala” * @date (original) 16-Jan-2026 @@ -143,7 +143,7 @@ static FP_CONC_FLUSH_STATE_T handleConcentrateFlushProgressState( void ) { FP_CONC_FLUSH_STATE_T state = CONC_FLUSH_IN_PROGRESS; - LEVEL_STATE_T level = getLevelStatus( P25_LEVL ); + LVL_STATE_T level = getFloaterStatus( P25_LEVL ); // if ( TRUE == 1 ) )// TODO Alarm and Stop State Rework // { @@ -156,7 +156,7 @@ state = CONC_FLUSH_PAUSED; } // Manual control of Permeate tank to prevent over fill. - if ( LEVEL_STATE_HIGH == level ) + if ( LVL_STATE_HIGH == level ) { setValveState( M4_VALV, VALVE_STATE_CLOSED ); if ( TRUE == isBoostPumpInstalled() ) @@ -167,7 +167,7 @@ isTankFilled = TRUE; } } - else if ( LEVEL_STATE_LOW == level ) + else if ( LVL_STATE_LOW == level ) { setValveState( M4_VALV, VALVE_STATE_OPEN ); // set boost pump to closed loop when M4 closed. Added Tank fill check to avoid reset during initial transition Index: firmware/App/Modes/FPModes/StateFlushPermeate.c =================================================================== diff -u -r00ee92f70b5f2748482955acfcf1ad246e53cfa3 -r4248e8013c4b26843306a10452249b7dd7e42842 --- firmware/App/Modes/FPModes/StateFlushPermeate.c (.../StateFlushPermeate.c) (revision 00ee92f70b5f2748482955acfcf1ad246e53cfa3) +++ firmware/App/Modes/FPModes/StateFlushPermeate.c (.../StateFlushPermeate.c) (revision 4248e8013c4b26843306a10452249b7dd7e42842) @@ -7,8 +7,8 @@ * * @file StateFlushPermeate.c * -* @author (last) “rkallala” -* @date (last) 29-Jan-2026 +* @author (last) Sameer Kalliadan Poyil +* @date (last) 27-Apr-2026 * * @author (original) “rkallala” * @date (original) 16-Jan-2026 @@ -145,11 +145,11 @@ static FP_PERM_FLUSH_STATE_T handlePermeateFlushProgressState( void ) { FP_PERM_FLUSH_STATE_T state = PERM_FLUSH_IN_PROGRESS; - LEVEL_STATE_T level = getLevelStatus( P25_LEVL ); + LVL_STATE_T level = getFloaterStatus( P25_LEVL ); // Manual control of Permeate tank while in Permeate Flush // to prevent overfill. - if ( LEVEL_STATE_HIGH == level ) + if ( LVL_STATE_HIGH == level ) { setValveState( M4_VALV, VALVE_STATE_CLOSED ); if ( TRUE == isBoostPumpInstalled() ) @@ -161,7 +161,7 @@ isTankFilled = TRUE; } } - else if ( LEVEL_STATE_LOW == level ) + else if ( LVL_STATE_LOW == level ) { setValveState( M4_VALV, VALVE_STATE_OPEN ); // set boost pump to closed loop when M4 closed. Added Tank fill check to avoid reset during initial transition @@ -209,7 +209,6 @@ state = PERM_FLUSH_PAUSED; } } - } return state;