]> git.webhop.me Git - lcd4linux.git/commitdiff
drv_picoLCDGraphic.c: minimum USB read timeout is now 1 ms
authormzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 15 Feb 2010 21:44:43 +0000 (21:44 +0000)
committermzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 15 Feb 2010 21:44:43 +0000 (21:44 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1114 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_picoLCDGraphic.c

index f136a79c3902d3cf4d1c18241234909bd2361e37..ccac030008f857db4b475a46e1ea5f86794888e3 100644 (file)
@@ -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') {