|
|
@ -741,7 +741,7 @@ void UITask::loop() { |
|
|
#endif |
|
|
#endif |
|
|
#if defined(PIN_USER_BTN_ANA) |
|
|
#if defined(PIN_USER_BTN_ANA) |
|
|
if (abs(millis() - _analogue_pin_read_millis) > 10) { |
|
|
if (abs(millis() - _analogue_pin_read_millis) > 10) { |
|
|
ev = analog_btn.check(); |
|
|
int ev = analog_btn.check(); |
|
|
if (ev == BUTTON_EVENT_CLICK) { |
|
|
if (ev == BUTTON_EVENT_CLICK) { |
|
|
c = checkDisplayOn(KEY_NEXT); |
|
|
c = checkDisplayOn(KEY_NEXT); |
|
|
} else if (ev == BUTTON_EVENT_LONG_PRESS) { |
|
|
} else if (ev == BUTTON_EVENT_LONG_PRESS) { |
|
|
|