From 7c0fb2e980af93923f2071e1af087010962e06bd Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Fri, 26 Aug 2011 09:24:25 +0200 Subject: Import upstream version 0.11.0~svn1158 --- drv_G15.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'drv_G15.c') 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"); -- cgit v1.2.3