Make Marlin actually compile when #define REPRAPWORLD_KEYPAD is uncommented
This commit is contained in:
parent
777f2d3820
commit
8f8bf3a897
2 changed files with 9 additions and 9 deletions
|
|
@ -6,11 +6,11 @@
|
|||
* When selecting the Russian language, a slightly different LCD implementation is used to handle UTF8 characters.
|
||||
**/
|
||||
|
||||
#ifndef REPRAPWORLD_KEYPAD
|
||||
extern volatile uint8_t buttons; //the last checked buttons in a bit array.
|
||||
#else
|
||||
extern volatile uint16_t buttons; //an extended version of the last checked buttons in a bit array.
|
||||
#endif
|
||||
//#ifndef REPRAPWORLD_KEYPAD
|
||||
// extern volatile uint8_t buttons; //the last checked buttons in a bit array.
|
||||
//#else
|
||||
extern volatile uint8_t buttons; //an extended version of the last checked buttons in a bit array.
|
||||
//#endif
|
||||
|
||||
////////////////////////////////////
|
||||
// Setup button and encode mappings for each panel (into 'buttons' variable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue