aboutsummaryrefslogtreecommitdiffstats
path: root/drv_picoLCDGraphic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drv_picoLCDGraphic.c')
-rw-r--r--drv_picoLCDGraphic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drv_picoLCDGraphic.c b/drv_picoLCDGraphic.c
index f136a79..ccac030 100644
--- a/drv_picoLCDGraphic.c
+++ b/drv_picoLCDGraphic.c
@@ -471,7 +471,7 @@ static int drv_pLG_start(const char *section, const int quiet)
/* USB read timeout in ms (the picoLCD 256x64 times out on every
read unless a key has been pressed!) */
- cfg_number(section, "Timeout", 5, 0, -1, &read_timeout);
+ cfg_number(section, "Timeout", 5, 1, 1000, &read_timeout);
s = cfg_get(section, "Size", NULL);
if (s == NULL || *s == '\0') {