Bug in Rotary Encoders navigation (when choosing the Rotary Encoder with the Rotary Encoder ...)
This commit is contained in:
@@ -269,6 +269,12 @@ void menuProcSetup(uint8_t event)
|
||||
#if defined(ROTARY_ENCODERS)
|
||||
case ITEM_SETUP_RE_NAVIGATION:
|
||||
g_eeGeneral.reNavigation = selectMenuItem(y, STR_RENAVIG, STR_VRENAVIG, g_eeGeneral.reNavigation, 0, 2, attr, event);
|
||||
if (attr && checkIncDec_Ret) {
|
||||
g_rotenc[0] = 0;
|
||||
g_rotenc[1] = 0;
|
||||
p1valdiff = 0;
|
||||
scrollRE = 0;
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -165,6 +165,11 @@ void check_rotary_encoder()
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
re1valprev = 0;
|
||||
p1valdiff = 0;
|
||||
scrollRE = 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user