summaryrefslogtreecommitdiff
path: root/src/libs
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-07-14 21:35:21 +0300
committerGitHub <noreply@github.com>2021-07-14 20:35:21 +0200
commit7133287b76dae9d97a88bed5c5ca1976e507826d (patch)
tree7f385e691756bec1015df7f2bc3166e974f9a892 /src/libs
parenta07b6382aef3c30d8ea8f28fcc3cc880d7afd747 (diff)
Set correct refresh times for lvgl (#488)
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/lv_conf.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libs/lv_conf.h b/src/libs/lv_conf.h
index 65263daa..18fc3fa2 100644
--- a/src/libs/lv_conf.h
+++ b/src/libs/lv_conf.h
@@ -42,7 +42,7 @@
/* Default display refresh period.
* Can be changed in the display driver (`lv_disp_drv_t`).*/
-#define LV_DISP_DEF_REFR_PERIOD 30 /*[ms]*/
+#define LV_DISP_DEF_REFR_PERIOD 20 /*[ms]*/
/* Dot Per Inch: used to initialize default sizes.
* E.g. a button with width = LV_DPI / 2 -> half inch wide
@@ -112,7 +112,7 @@ typedef int16_t lv_coord_t;
* Can be changed in the Input device driver (`lv_indev_drv_t`)*/
/* Input device read period in milliseconds */
-#define LV_INDEV_DEF_READ_PERIOD 30
+#define LV_INDEV_DEF_READ_PERIOD 20
/* Drag threshold in pixels */
#define LV_INDEV_DEF_DRAG_LIMIT 10
@@ -128,7 +128,6 @@ typedef int16_t lv_coord_t;
* Time between `LV_EVENT_LONG_PRESSED_REPEAT */
#define LV_INDEV_DEF_LONG_PRESS_REP_TIME 100
-
/* Gesture threshold in pixels */
#define LV_INDEV_DEF_GESTURE_LIMIT 50