aboutsummaryrefslogtreecommitdiffstats
path: root/drv_USBLCD.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-12-22 20:24:02 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-12-22 20:24:02 +0000
commitf10ba1a7ffe9c280fd4a3654e8ea972e280a1953 (patch)
treee9e352c93a9357e54bb236a96830f298b7d0a04e /drv_USBLCD.c
parent1c253024e7b6a8944609260ba223fde7147975ea (diff)
downloadlcd4linux-f10ba1a7ffe9c280fd4a3654e8ea972e280a1953.tar.gz
[lcd4linux @ 2004-12-22 20:24:00 by reinelt]
T6963 fix for displays > 8 rows git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@498 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_USBLCD.c')
-rw-r--r--drv_USBLCD.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/drv_USBLCD.c b/drv_USBLCD.c
index ecfd542..cbf6bc9 100644
--- a/drv_USBLCD.c
+++ b/drv_USBLCD.c
@@ -1,4 +1,4 @@
-/* $Id: drv_USBLCD.c,v 1.17 2004/10/02 09:31:58 reinelt Exp $
+/* $Id: drv_USBLCD.c,v 1.18 2004/12/22 20:24:02 reinelt Exp $
*
* new style driver for USBLCD displays
*
@@ -26,6 +26,9 @@
*
*
* $Log: drv_USBLCD.c,v $
+ * Revision 1.18 2004/12/22 20:24:02 reinelt
+ * T6963 fix for displays > 8 rows
+ *
* Revision 1.17 2004/10/02 09:31:58 reinelt
* USBLCD driver modified to use libusb
*
@@ -197,8 +200,8 @@ static int drv_UL_open (void)
for (bus = busses; bus; bus = bus->next) {
for (dev = bus->devices; dev; dev = dev->next) {
- if (((dev->descriptor.idVendor == USBLCD_VENDOR) ||
- (dev->descriptor.idVendor == USBLCD_VENDOR2)) &&
+ if (((dev->descriptor.idVendor == USBLCD_VENDOR) ||
+ (dev->descriptor.idVendor == USBLCD_VENDOR2)) &&
(dev->descriptor.idProduct == USBLCD_DEVICE)) {
unsigned int v = dev->descriptor.bcdDevice;
@@ -244,7 +247,7 @@ static void drv_UL_send ()
if (use_libusb) {
#ifdef HAVE_USB_H
- // Fixme: ep?
+ // Fixme: Endpoint hardcoded to 1 ???
usb_bulk_write(lcd, 1, Buffer, BufPtr-Buffer, 1000);
#endif
} else {