Wrap ULTIPANEL-dependent code
This commit is contained in:
parent
305913545e
commit
71319adbb8
3 changed files with 295 additions and 278 deletions
|
|
@ -2585,12 +2585,12 @@ void lcd_update() {
|
|||
lcd_implementation_update_indicators();
|
||||
#endif
|
||||
|
||||
#if ENABLED(LCD_HAS_SLOW_BUTTONS)
|
||||
slow_buttons = lcd_implementation_read_slow_buttons(); // buttons which take too long to read in interrupt context
|
||||
#endif
|
||||
|
||||
#if ENABLED(ULTIPANEL)
|
||||
|
||||
#if ENABLED(LCD_HAS_SLOW_BUTTONS)
|
||||
slow_buttons = lcd_implementation_read_slow_buttons(); // buttons which take too long to read in interrupt context
|
||||
#endif
|
||||
|
||||
#if ENABLED(REPRAPWORLD_KEYPAD)
|
||||
|
||||
static uint8_t keypad_debounce = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue