I recently bought a BigTreeTech SKR V1.3 and uncommented REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
and clicked the upload button but faced an error that says:
Marlin\src\lcd\ultralcd.cpp:767:9: error: 'touch_buttons' was not declared in this scope
if (touch_buttons) {
^~~~~~~~~~~~~
Marlin\src\lcd\ultralcd.cpp:767:9: note: suggested alternative: 'buttons'
if (touch_buttons) {
^~~~~~~~~~~~~
buttons
Marlin\src\lcd\ultralcd.cpp:805:5: error: 'else' without a previous 'if'
else wait_for_unclick = false;
^~~~
*** [.pio\build\LPC1768\src\src\lcd\ultralcd.cpp.o] Error 1
I am not sure what above message means, but can anyone else shed some light on why I am receiving these errors?
FWIW, I am using Marlin 2.