Browse Source

add:LV_DISP_DEF_REFR_PERIOD默认30

Dozingfiretruck 4 years ago
parent
commit
84b4e2b783
1 changed files with 4 additions and 2 deletions
  1. 4 2
      app/port/luat_conf_bsp.h

+ 4 - 2
app/port/luat_conf_bsp.h

@@ -63,7 +63,7 @@
 /**********U8G2&LCD FONT*************/
 /**********U8G2&LCD FONT*************/
 // #define USE_U8G2_UNIFONT_SYMBOLS
 // #define USE_U8G2_UNIFONT_SYMBOLS
 // #define USE_U8G2_OPPOSANSM12_CHINESE
 // #define USE_U8G2_OPPOSANSM12_CHINESE
-#define USE_U8G2_OPPOSANSM16_CHINESE
+// #define USE_U8G2_OPPOSANSM16_CHINESE
 // #define USE_U8G2_OPPOSANSM24_CHINESE
 // #define USE_U8G2_OPPOSANSM24_CHINESE
 // #define USE_U8G2_OPPOSANSM32_CHINESE
 // #define USE_U8G2_OPPOSANSM32_CHINESE
 /**********LVGL FONT*************/
 /**********LVGL FONT*************/
@@ -73,9 +73,11 @@
 //---------------------
 //---------------------
 // LVGL
 // LVGL
 #define LUAT_USE_LVGL
 #define LUAT_USE_LVGL
-#define LV_DISP_DEF_REFR_PERIOD 10
+#define LV_DISP_DEF_REFR_PERIOD 30
 #define LUAT_LV_DEBUG 0
 #define LUAT_LV_DEBUG 0
 
 
+#define LV_MEM_CUSTOM 1
+
 #define LUAT_USE_LVGL_INDEV 1
 #define LUAT_USE_LVGL_INDEV 1
 
 
 #define LUAT_USE_LVGL_ARC   //圆弧 无依赖
 #define LUAT_USE_LVGL_ARC   //圆弧 无依赖