From 81976d6ec99de3b35b4c516f6ee67f5f4abc4f6b Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Sun, 2 May 2021 00:45:22 +0200 Subject: [PATCH] Set LV_INDEV_DEF_READ_PERIOD=20 --- include/lv_conf_v7.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/lv_conf_v7.h b/include/lv_conf_v7.h index a4d3b2eb..e2ca2c18 100644 --- a/include/lv_conf_v7.h +++ b/include/lv_conf_v7.h @@ -124,7 +124,9 @@ 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 +#ifndef LV_INDEV_DEF_READ_PERIOD +#define LV_INDEV_DEF_READ_PERIOD 20 +#endif /* Drag threshold in pixels */ #define LV_INDEV_DEF_DRAG_LIMIT 10