|
@@ -212,11 +212,11 @@ static void lcd_status_screen();
|
212
|
212
|
} } while(0)
|
213
|
213
|
|
214
|
214
|
/** Used variables to keep track of the menu */
|
215
|
|
- #ifndef REPRAPWORLD_KEYPAD
|
216
|
|
- volatile uint8_t buttons; // Bits of the pressed buttons.
|
217
|
|
- #else
|
218
|
|
- volatile uint8_t buttons_reprapworld_keypad; // The reprapworld_keypad shift register values
|
|
215
|
+ volatile uint8_t buttons; //the last checked buttons in a bit array.
|
|
216
|
+ #ifdef REPRAPWORLD_KEYPAD
|
|
217
|
+ volatile uint8_t buttons_reprapworld_keypad; // to store the keypad shift register values
|
219
|
218
|
#endif
|
|
219
|
+
|
220
|
220
|
#ifdef LCD_HAS_SLOW_BUTTONS
|
221
|
221
|
volatile uint8_t slow_buttons; // Bits of the pressed buttons.
|
222
|
222
|
#endif
|