MKFirmware / MK4duo

MK4duo Firmware Printers 3D for Arduino and Arduino due
http://www.marlinkimbra.it
GNU General Public License v3.0
206 stars 117 forks source link

BUG report - dont compile 4.3.5 with discount smart ramps lcd #459

Open rockman256 opened 6 years ago

rockman256 commented 6 years ago

My config is fine compile on 4.3.4. Also fine compile on 4.3.5 with full grafic lcd. But it not work with discount smart lcd.

In file included from sketch\src\lcd../../MK4duo.h:137:0,

             from sketch\src\lcd\ultralcd.cpp:23:

sketch\src\lcd\ultralcd.cpp: In function 'void lcd_update()':

sketch\src\lcd../../src/lcd/ultralcd.h:229:38: error: 'EN_C' was not declared in this scope

   #define LCD_CLICKED (buttons & EN_C)

                                  ^

sketch\src\lcd\ultralcd.cpp:5093:26: note: in expansion of macro 'LCD_CLICKED'

 if (UBL_CONDITION && LCD_CLICKED) {

                      ^

exit status 1

iosonopersia commented 6 years ago

@rockman256 what board are you using?