[rotenc] Navigation bug fixed

This commit is contained in:
bsongis
2012-11-21 22:10:14 +00:00
parent 84e91d8c27
commit 28b736f1e8
+1 -3
View File
@@ -1966,9 +1966,7 @@ void menuModelExpoMix(uint8_t expo, uint8_t event)
#if defined(ROTARY_ENCODERS)
case EVT_KEY_BREAK(BTN_REa):
case EVT_KEY_BREAK(BTN_REb):
case EVT_KEY_LONG(BTN_REa):
case EVT_KEY_LONG(BTN_REb):
if (!navigationRotaryEncoder(event))
if (event!=EVT_KEY_BREAK(KEY_ENTER) && !navigationRotaryEncoder(event))
break;
// no break
#endif