picoLCDGraphic: update display regularly using a timer (*much* faster than redrawing the whole display after each changed widget; you may get the old behaviour by setting "Update 0")

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1094 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
mzuther
2010-01-24 19:45:27 +00:00
parent f622ea6ee2
commit 76db34b59e
2 changed files with 34 additions and 6 deletions

View File

@@ -330,8 +330,8 @@ static int drv_G15_open()
debug("%s: open %s/%s/%s", Name, bus->dirname, dev->bus->dirname, dev->filename);
if ((g15_lcd = usb_open(dev))) {
if (dev->descriptor.idVendor == G15_VENDOR) {
debug("%s: Found USB vendor ID 0x%x (Logitech), checking productID 0x%x...",
Name, G15_VENDOR, dev->descriptor.idProduct);
debug("%s: Found USB vendor ID 0x%x (Logitech), checking productID 0x%x...",
Name, G15_VENDOR, dev->descriptor.idProduct);
switch (dev->descriptor.idProduct) {
case G15_DEVICE:
case G15_DEVICE2:
@@ -351,8 +351,8 @@ static int drv_G15_open()
break;
}
default:
debug("%s: Don't found USB product IDs 0x%x|0x%x/0x%x for G-15/M1730 or 0x%x for Z10",
Name, G15_DEVICE, G15_DEVICE2, M1730_DEVICE, Z10_DEVICE);
debug("%s: Don't found USB product IDs 0x%x|0x%x/0x%x for G-15/M1730 or 0x%x for Z10",
Name, G15_DEVICE, G15_DEVICE2, M1730_DEVICE, Z10_DEVICE);
usb_close(g15_lcd);
}