Index: firmware/App/Modes/Rinseback.c =================================================================== diff -u -r43d1739837a207e6d4d2960f3f0442af85b22a8c -r75e1ae332d1446dddf9b8d4ce6e8317449c57d67 --- firmware/App/Modes/Rinseback.c (.../Rinseback.c) (revision 43d1739837a207e6d4d2960f3f0442af85b22a8c) +++ firmware/App/Modes/Rinseback.c (.../Rinseback.c) (revision 75e1ae332d1446dddf9b8d4ce6e8317449c57d67) @@ -7,8 +7,8 @@ * * @file Rinseback.c * -* @author (last) Sean Nash -* @date (last) 02-Nov-2022 +* @author (last) Michael Garthwaite +* @date (last) 19-Jan-2023 * * @author (original) Sean Nash * @date (original) 20-Jan-2021 @@ -280,6 +280,8 @@ *************************************************************************/ void execRinseback( void ) { + RINSEBACK_STATE_T priorSubState = rinsebackState; + rinsebackTimerCtr++; switch ( rinsebackState ) @@ -309,6 +311,10 @@ break; } + if ( priorSubState != rinsebackState ) + { + SEND_EVENT_WITH_2_U32_DATA( HD_EVENT_SUB_STATE_CHANGE, priorSubState, rinsebackState ); + } // Rinseback flags should be handled by now - reset in case not handled by current state resetRinsebackFlags();