aboutsummaryrefslogtreecommitdiffstats
path: root/drv_USBLCD.c
diff options
context:
space:
mode:
Diffstat (limited to 'drv_USBLCD.c')
-rw-r--r--drv_USBLCD.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/drv_USBLCD.c b/drv_USBLCD.c
index ecb14a2..20346c6 100644
--- a/drv_USBLCD.c
+++ b/drv_USBLCD.c
@@ -1,9 +1,9 @@
-/* $Id: drv_USBLCD.c 773 2007-02-25 12:39:09Z michael $
- * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/drv_USBLCD.c $
+/* $Id: drv_USBLCD.c 1143 2011-02-12 22:46:19Z mzuther $
+ * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_USBLCD.c $
*
* new style driver for USBLCD displays
*
- * Copyright (C) 2003 Michael Reinelt <reinelt@eunet.at>
+ * Copyright (C) 2003 Michael Reinelt <michael@reinelt.co.at>
* Copyright (C) 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
*
* based on the old-style USBLCD driver which is
@@ -86,8 +86,6 @@ static char *BufPtr;
static usb_dev_handle *lcd;
static int interface;
-extern int usb_debug;
-
#endif
@@ -107,7 +105,7 @@ static int drv_UL_open(void)
info("%s: scanning for USBLCD...", Name);
- usb_debug = 0;
+ usb_set_debug(0);
usb_init();
usb_find_busses();
@@ -339,7 +337,7 @@ static int drv_UL_start(const char *section, const int quiet)
/* Init the command buffer */
Buffer = (char *) malloc(1024);
if (Buffer == NULL) {
- error("%s: coommand buffer could not be allocated: malloc() failed", Name);
+ error("%s: command buffer could not be allocated: malloc() failed", Name);
return -1;
}
BufPtr = Buffer;
@@ -390,7 +388,7 @@ static int drv_UL_start(const char *section, const int quiet)
/* list models */
int drv_UL_list(void)
{
- printf("generic");
+ printf("USBLCD");
return 0;
}
@@ -402,7 +400,7 @@ int drv_UL_init(const char *section, const int quiet)
int asc255bug;
int ret;
- info("%s: %s", Name, "$Rev: 773 $");
+ info("%s: %s", Name, "$Rev: 1143 $");
/* display preferences */
XRES = 5; /* pixel width of one char */