Index: firmware/App/Controllers/Valves.c =================================================================== diff -u -r99e5d1b4d1e3627576d680318887ac23cd1f34ce -r520b5b97e2a1a6d7af037e1144f1ffeb39153e3e --- firmware/App/Controllers/Valves.c (.../Valves.c) (revision 99e5d1b4d1e3627576d680318887ac23cd1f34ce) +++ firmware/App/Controllers/Valves.c (.../Valves.c) (revision 520b5b97e2a1a6d7af037e1144f1ffeb39153e3e) @@ -7,8 +7,8 @@ * * @file Valves.c * -* @author (last) Jashwant Gantyada -* @date (last) 30-Mar-2026 +* @author (last) Michael Garthwaite +* @date (last) 15-Apr-2026 * * @author (original) Vinayakam Mani * @date (original) 26-Aug-2024 @@ -579,9 +579,9 @@ * @param recovery state to set valve config. * @return none. *************************************************************************/ -void setRecoveryStatesConfig( U32 recovery ) +void setRecoveryStatesConfig( RECOVERY_STATE_T recovery ) { - recoveryState = (RECOVERY_STATE_T)recovery; + recoveryState = recovery; } /*********************************************************************//** * @brief @@ -918,6 +918,7 @@ BOOL testIOFPSetValveRecoveryConfig( MESSAGE_T *message ) { BOOL result = FALSE; + // Verify tester has logged in with DD if ( TRUE == isTestingActivated() ) { @@ -930,7 +931,7 @@ if (payload < NUM_OF_RECOVERY_STATES ) { - setRecoveryStatesConfig(payload); + setRecoveryStatesConfig((RECOVERY_STATE_T)payload); result = TRUE; } }