Skip to content

Commit

Permalink
lvgl: Increase frame update frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryzee119 committed Jun 19, 2023
1 parent 1afb51b commit 0c9163f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lv_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@
#define LV_MEM_BUF_MAX_NUM 64

/*Use the standard `memcpy` and `memset` instead of LVGL's own functions. (Might or might not be faster).*/
#define LV_MEMCPY_MEMSET_STD 0
#define LV_MEMCPY_MEMSET_STD 1

/*====================
HAL SETTINGS
*====================*/

/*Default display refresh period. LVG will redraw changed areas with this period time*/
#define LV_DISP_DEF_REFR_PERIOD (1000/30) /*[ms]*/
#define LV_DISP_DEF_REFR_PERIOD (1000/40) /*[ms]*/

/*Input device read period in milliseconds*/
#define LV_INDEV_DEF_READ_PERIOD (1000/30) /*[ms]*/
Expand Down

0 comments on commit 0c9163f

Please sign in to comment.