aboutsummaryrefslogtreecommitdiffstats
path: root/drv_G15.c
diff options
context:
space:
mode:
Diffstat (limited to 'drv_G15.c')
-rw-r--r--drv_G15.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drv_G15.c b/drv_G15.c
index 98fe120..ae21d18 100644
--- a/drv_G15.c
+++ b/drv_G15.c
@@ -1,4 +1,4 @@
-/* $Id: drv_G15.c 1117 2010-04-18 11:47:58Z mzuther $
+/* $Id: drv_G15.c 1153 2011-07-27 05:12:30Z michael $
* $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_G15.c $
*
* Driver for Logitech G-15 keyboard LCD screen
@@ -433,7 +433,6 @@ static void drv_G15_update_img()
{
int i, j, k;
unsigned char *output = malloc(DCOLS * DROWS * sizeof(unsigned char));
- int retval;
DEBUG("entered");
if (!output)
@@ -457,8 +456,8 @@ static void drv_G15_update_img()
DEBUG("output array prepared");
mutex_lock(kb_mutex);
- retval = usb_interrupt_write(g15_lcd, usb_endpoint, (char *) output, 992, 1000);
- //info("%s: Ret %i from usb_interrupt_write(endpoint %d)", Name, retval, usb_endpoint);
+ i = usb_interrupt_write(g15_lcd, usb_endpoint, (char *) output, 992, 1000);
+ //info("%s: Ret %i from usb_interrupt_write(endpoint %d)", Name, i, usb_endpoint);
mutex_unlock(kb_mutex);
usleep(300);
@@ -596,7 +595,7 @@ int drv_G15_init(const char *section, const int quiet)
{
int ret;
- info("%s: %s", Name, "$Rev: 1117 $");
+ info("%s: %s", Name, "$Rev: 1153 $");
DEBUG("entered");