Bug in Rotary Encoders navigation (when choosing the Rotary Encoder with the Rotary Encoder ...)

This commit is contained in:
bsongis
2012-04-21 14:08:12 +00:00
parent 3d44f10989
commit 4796acbd49
2 changed files with 11 additions and 0 deletions
+6
View File
@@ -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