aboutsummaryrefslogtreecommitdiffstats
path: root/drv_Trefon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drv_Trefon.c')
-rw-r--r--drv_Trefon.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/drv_Trefon.c b/drv_Trefon.c
index 9bffa8b..00d03eb 100644
--- a/drv_Trefon.c
+++ b/drv_Trefon.c
@@ -1,9 +1,9 @@
-/* $Id: drv_Trefon.c 773 2007-02-25 12:39:09Z michael $
- * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/drv_Trefon.c $
+/* $Id: drv_Trefon.c 975 2009-01-18 11:16:20Z michael $
+ * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_Trefon.c $
*
* driver for TREFON USB LCD displays - http://www.trefon.de
*
- * Copyright (C) 2005 Michael Reinelt <reinelt@eunet.at>
+ * Copyright (C) 2005 Michael Reinelt <michael@reinelt.co.at>
* Copyright (C) 2005 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
*
* This file is part of LCD4Linux.
@@ -72,8 +72,6 @@ static char Name[] = "TREFON";
static usb_dev_handle *lcd;
static int interface;
-extern int usb_debug;
-
/****************************************/
/*** hardware dependant functions ***/
@@ -88,7 +86,7 @@ static int drv_TF_open(void)
info("%s: scanning USB for TREFON LCD...", Name);
- usb_debug = 0;
+ usb_set_debug(0);
usb_init();
usb_find_busses();
@@ -314,7 +312,7 @@ static void plugin_backlight(RESULT * result, RESULT * arg1)
/* list models */
int drv_TF_list(void)
{
- printf("generic");
+ printf("TREFON USB LCD");
return 0;
}
@@ -326,7 +324,7 @@ int drv_TF_init(const char *section, const int quiet)
int asc255bug;
int ret;
- info("%s: %s", Name, "$Rev: 773 $");
+ info("%s: %s", Name, "$Rev: 975 $");
/* display preferences */
XRES = 5; /* pixel width of one char */