Wrap ULTIPANEL-dependent code

This commit is contained in:
Scott Lahteine
2016-08-20 18:12:57 -05:00
parent 305913545e
commit 71319adbb8
3 changed files with 295 additions and 278 deletions

View File

@@ -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;