瀏覽代碼

[Renesas]Fix lvgl screen define

Rbb666 2 年之前
父節點
當前提交
72037b6353
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      bsp/renesas/ra6m3-ek/board/lvgl/lv_conf.h
  2. 1 1
      bsp/renesas/ra6m4-cpk/board/lvgl/lv_conf.h

+ 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