fix error for lvgl

This commit is contained in:
Victor Mateus Oliveira 2020-11-05 23:23:35 -03:00
parent b54eac6173
commit d27b3b54fa

View file

@ -25,15 +25,19 @@
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
#include "../gcode.h"
#include "../../lcd/menu/menu.h"
#if DISABLED(TFT_LVGL_UI)
#include "../../lcd/menu/menu.h"
#endif
/**
* M995: Touch screen calibration for TFT display
*/
void GcodeSuite::M995() {
#if DISABLED(TFT_LVGL_UI)
ui.goto_screen(touch_screen_calibration);
#else
//TODO: show LVGL UI calibration screen
#endif
}
#endif // TOUCH_SCREEN_CALIBRATION