From 3cd9a92dcc525e97768330651c40e5dc349c9e19 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 11 Jul 2019 15:15:35 -0500 Subject: [PATCH] Use REVERSE_ENCODER_DIRECTION in do_select_screen --- Marlin/src/lcd/menu/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/lcd/menu/menu.cpp b/Marlin/src/lcd/menu/menu.cpp index 9ede8da301..3274c904c3 100644 --- a/Marlin/src/lcd/menu/menu.cpp +++ b/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();