changed #ifdef for lvgl

This commit is contained in:
Jason2866 2021-05-08 17:38:51 +02:00
parent 4497db4fc9
commit a2e743b19f

View File

@ -108,13 +108,16 @@
#define USE_MPU6886
#define USE_SPI
#define USE_DISPLAY
#ifndef USE_UNIVERSAL_DISPLAY
#define USE_DISPLAY_ILI9341
#define USE_TOUCH_BUTTONS
#define MAX_TOUCH_BUTTONS 16
#endif
#ifdef USE_UNIVERSAL_DISPLAY
#define USE_LVGL
#define USE_DISPLAY_LVGL_ONLY
#define USE_TOUCH_SCREEN
#else
#define USE_DISPLAY_ILI9341 // [DisplayModel 4] Enable ILI9341 Tft 480x320 display (+19k code)
#define USE_DISPLAY_MODES1TO5
#define USE_TOUCH_BUTTONS
#define MAX_TOUCH_BUTTONS 16
#endif
#define JPEG_PICTS
#define USE_FT5206