Index: firmware/App/Modes/TreatmentRecirc.c =================================================================== diff -u -r0a4dcd288d4347b85baaa0b07da568b6add5eac7 -r82b7c4c94b0f8b3f8a3d3d2e41384a7a7d497215 --- firmware/App/Modes/TreatmentRecirc.c (.../TreatmentRecirc.c) (revision 0a4dcd288d4347b85baaa0b07da568b6add5eac7) +++ firmware/App/Modes/TreatmentRecirc.c (.../TreatmentRecirc.c) (revision 82b7c4c94b0f8b3f8a3d3d2e41384a7a7d497215) @@ -191,6 +191,7 @@ { // Count time in this sub-mode recircTimerCtr++; + TREATMENT_RECIRC_STATE_T priorSubState = treatmentRecircState; switch ( treatmentRecircState ) { @@ -207,6 +208,10 @@ break; } + if ( priorSubState != treatmentRecircState ) + { + SEND_EVENT_WITH_2_U32_DATA( HD_EVENT_SUB_STATE_CHANGE, priorSubState, treatmentRecircState ); + } // Re-circulate flags should be handled by now - reset in case not handled by current state resetTreatmentRecircFlags();