Closed xsrf closed 3 years ago
Yes the counter should be better in main_variables and check for further states before going into wakeup mode
Actually, checking additional states wouldn't be required if modes other than sync+idle would just reset the counter.
Hey, it sometimes switches into WakeUp mode during activation of the Chroma29 ESLs. I guess this is because you're switching to sync/idle mode during activation on the activation channel and
resync_start_counter
may just kick in and mess with the activation, switching to WakeUp. I guess adding a check inmode_idle.h
would helpBut I'm wondering if it wouldn't be better to put the resync counter into a global scope and make sure it only triggers a resync after it was in sync/idle mode for the required intervals and reset it completely whenever an other mode is active?