From 1506829b85daade2f5e7b1ea79c3176ebb11f45c Mon Sep 17 00:00:00 2001 From: "Man, Jianting (Meco)" <920369182@qq.com> Date: Sun, 22 May 2022 13:41:23 -0400 Subject: [PATCH] [lvgl] remove LV_DISP_DEF_REFR_PERIOD which are defined manually (#5976) --- bsp/nuvoton/nk-980iot/applications/lvgl/lv_conf.h | 2 -- bsp/nuvoton/nk-n9h30/applications/lvgl/lv_conf.h | 2 -- bsp/nuvoton/numaker-iot-m487/applications/lvgl/lv_conf.h | 1 - bsp/nuvoton/numaker-m032ki/applications/lvgl/lv_conf.h | 1 - bsp/nuvoton/numaker-m2354/applications/lvgl/lv_conf.h | 2 -- bsp/nuvoton/numaker-pfm-m487/applications/lvgl/lv_conf.h | 1 - bsp/qemu-vexpress-a9/applications/lvgl/lv_conf.h | 4 ++-- bsp/simulator/applications/lvgl/lv_conf.h | 4 ++-- 8 files changed, 4 insertions(+), 13 deletions(-) diff --git a/bsp/nuvoton/nk-980iot/applications/lvgl/lv_conf.h b/bsp/nuvoton/nk-980iot/applications/lvgl/lv_conf.h index 9c2479dc5c..2d960ffe30 100644 --- a/bsp/nuvoton/nk-980iot/applications/lvgl/lv_conf.h +++ b/bsp/nuvoton/nk-980iot/applications/lvgl/lv_conf.h @@ -22,7 +22,5 @@ #define LV_USE_DEMO_RTT_MUSIC 1 #define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1 -#define LV_DISP_DEF_REFR_PERIOD 16 - //#define CONFIG_LV_LOG_LEVEL LV_LOG_LEVEL_TRACE #endif diff --git a/bsp/nuvoton/nk-n9h30/applications/lvgl/lv_conf.h b/bsp/nuvoton/nk-n9h30/applications/lvgl/lv_conf.h index 5b953c5642..b224eaa47c 100644 --- a/bsp/nuvoton/nk-n9h30/applications/lvgl/lv_conf.h +++ b/bsp/nuvoton/nk-n9h30/applications/lvgl/lv_conf.h @@ -33,7 +33,5 @@ #define LV_DEMO_MUSIC_AUTO_PLAY 1 #endif -//#define LV_DISP_DEF_REFR_PERIOD 16 - //#define CONFIG_LV_LOG_LEVEL LV_LOG_LEVEL_TRACE #endif diff --git a/bsp/nuvoton/numaker-iot-m487/applications/lvgl/lv_conf.h b/bsp/nuvoton/numaker-iot-m487/applications/lvgl/lv_conf.h index 4eca0985d0..28f69a5cc5 100644 --- a/bsp/nuvoton/numaker-iot-m487/applications/lvgl/lv_conf.h +++ b/bsp/nuvoton/numaker-iot-m487/applications/lvgl/lv_conf.h @@ -22,7 +22,6 @@ //#define LV_USE_DEMO_BENCHMARK 1 #define LV_USE_DEMO_WIDGETS 1 #define LV_DEMO_WIDGETS_SLIDESHOW 1 -#define LV_DISP_DEF_REFR_PERIOD 16 //#define CONFIG_LV_LOG_LEVEL LV_LOG_LEVEL_TRACE #endif diff --git a/bsp/nuvoton/numaker-m032ki/applications/lvgl/lv_conf.h b/bsp/nuvoton/numaker-m032ki/applications/lvgl/lv_conf.h index 5585679bdc..28f69a5cc5 100644 --- a/bsp/nuvoton/numaker-m032ki/applications/lvgl/lv_conf.h +++ b/bsp/nuvoton/numaker-m032ki/applications/lvgl/lv_conf.h @@ -22,7 +22,6 @@ //#define LV_USE_DEMO_BENCHMARK 1 #define LV_USE_DEMO_WIDGETS 1 #define LV_DEMO_WIDGETS_SLIDESHOW 1 -//#define LV_DISP_DEF_REFR_PERIOD 16 //#define CONFIG_LV_LOG_LEVEL LV_LOG_LEVEL_TRACE #endif diff --git a/bsp/nuvoton/numaker-m2354/applications/lvgl/lv_conf.h b/bsp/nuvoton/numaker-m2354/applications/lvgl/lv_conf.h index 9c2479dc5c..2d960ffe30 100644 --- a/bsp/nuvoton/numaker-m2354/applications/lvgl/lv_conf.h +++ b/bsp/nuvoton/numaker-m2354/applications/lvgl/lv_conf.h @@ -22,7 +22,5 @@ #define LV_USE_DEMO_RTT_MUSIC 1 #define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1 -#define LV_DISP_DEF_REFR_PERIOD 16 - //#define CONFIG_LV_LOG_LEVEL LV_LOG_LEVEL_TRACE #endif diff --git a/bsp/nuvoton/numaker-pfm-m487/applications/lvgl/lv_conf.h b/bsp/nuvoton/numaker-pfm-m487/applications/lvgl/lv_conf.h index 4eca0985d0..28f69a5cc5 100644 --- a/bsp/nuvoton/numaker-pfm-m487/applications/lvgl/lv_conf.h +++ b/bsp/nuvoton/numaker-pfm-m487/applications/lvgl/lv_conf.h @@ -22,7 +22,6 @@ //#define LV_USE_DEMO_BENCHMARK 1 #define LV_USE_DEMO_WIDGETS 1 #define LV_DEMO_WIDGETS_SLIDESHOW 1 -#define LV_DISP_DEF_REFR_PERIOD 16 //#define CONFIG_LV_LOG_LEVEL LV_LOG_LEVEL_TRACE #endif diff --git a/bsp/qemu-vexpress-a9/applications/lvgl/lv_conf.h b/bsp/qemu-vexpress-a9/applications/lvgl/lv_conf.h index 16ca32979a..43071c8676 100644 --- a/bsp/qemu-vexpress-a9/applications/lvgl/lv_conf.h +++ b/bsp/qemu-vexpress-a9/applications/lvgl/lv_conf.h @@ -11,12 +11,12 @@ #ifndef LV_CONF_H #define LV_CONF_H +#include + #define LV_USE_PERF_MONITOR 1 #define LV_COLOR_DEPTH 16 /* music player demo */ -#include -#define LV_DISP_DEF_REFR_PERIOD 10 #define LV_HOR_RES_MAX BSP_LCD_WIDTH #define LV_VER_RES_MAX BSP_LCD_HEIGHT #define LV_USE_DEMO_RTT_MUSIC 1 diff --git a/bsp/simulator/applications/lvgl/lv_conf.h b/bsp/simulator/applications/lvgl/lv_conf.h index e558398800..9277d41855 100644 --- a/bsp/simulator/applications/lvgl/lv_conf.h +++ b/bsp/simulator/applications/lvgl/lv_conf.h @@ -11,6 +11,8 @@ #ifndef LV_CONF_H #define LV_CONF_H +#include + #define LV_USE_PERF_MONITOR 1 #define LV_COLOR_DEPTH 32 @@ -20,8 +22,6 @@ //#define LV_USE_FS_WIN32 1 /* music player demo */ -#include -#define LV_DISP_DEF_REFR_PERIOD 10 #define LV_HOR_RES_MAX BSP_LCD_WIDTH #define LV_VER_RES_MAX BSP_LCD_HEIGHT #define LV_USE_DEMO_RTT_MUSIC 1