Allow TOUCH_BUTTONS to be swapped (#15100)
This commit is contained in:
committed by
Scott Lahteine
parent
8e044ea898
commit
6b05d5d65d
@@ -306,6 +306,8 @@ public:
|
||||
|
||||
#if HAS_SPI_LCD
|
||||
|
||||
static millis_t next_button_update_ms;
|
||||
|
||||
static bool detected();
|
||||
|
||||
static LCDViewAction lcdDrawUpdate;
|
||||
@@ -531,10 +533,6 @@ public:
|
||||
static volatile uint8_t slow_buttons;
|
||||
static uint8_t read_slow_buttons();
|
||||
#endif
|
||||
#if ENABLED(TOUCH_BUTTONS)
|
||||
static volatile uint8_t touch_buttons;
|
||||
static uint8_t read_touch_buttons();
|
||||
#endif
|
||||
|
||||
static void update_buttons();
|
||||
static inline bool button_pressed() { return BUTTON_CLICK(); }
|
||||
|
||||
Reference in New Issue
Block a user