Browse Source

Use REVERSE_ENCODER_DIRECTION in do_select_screen

pull/1/head
Scott Lahteine 6 years ago
parent
commit
3cd9a92dcc
  1. 2
      Marlin/src/lcd/menu/menu.cpp

2
Marlin/src/lcd/menu/menu.cpp

@ -448,7 +448,7 @@ bool ui_selection; // = false
void set_ui_selection(const bool sel) { ui_selection = sel; }
void do_select_screen(PGM_P const yes, PGM_P const no, selectFunc_t yesFunc, selectFunc_t noFunc, PGM_P const pref, const char * const string/*=nullptr*/, PGM_P const suff/*=nullptr*/) {
if (ui.encoderPosition) {
ui_selection = int16_t(ui.encoderPosition) > 0;
ui_selection = (ENCODERBASE) > 0 == int16_t(ui.encoderPosition) > 0;
ui.encoderPosition = 0;
}
const bool got_click = ui.use_click();

Loading…
Cancel
Save