1
0
Эх сурвалжийг харах

[Renesas]Fix lvgl screen define

Rbb666 2 жил өмнө
parent
commit
72037b6353

+ 1 - 1
bsp/renesas/ra6m3-ek/board/lvgl/lv_conf.h

@@ -23,7 +23,7 @@
 #define LV_USE_PERF_MONITOR     1
 #define LV_COLOR_DEPTH          16
 
-#ifdef BSP_USING_SPI_LCD
+#ifdef PKG_USING_ILI9341
     #define LV_HOR_RES_MAX          240
     #define LV_VER_RES_MAX          320
     #define LV_COLOR_16_SWAP        1

+ 1 - 1
bsp/renesas/ra6m4-cpk/board/lvgl/lv_conf.h

@@ -16,7 +16,7 @@
 #define LV_USE_PERF_MONITOR         1
 #define LV_COLOR_DEPTH              16
 
-#ifdef BSP_USING_SPI_LCD
+#ifdef PKG_USING_ILI9341
     #define LV_HOR_RES_MAX          240
     #define LV_VER_RES_MAX          320
     #define LV_COLOR_16_SWAP        1