diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2011-07-27 05:12:30 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2011-07-27 05:12:30 +0000 |
commit | 7318d07f8950d3469d76537ce1d96f863085ba7c (patch) | |
tree | 361d3b09b28e6847784781c70323af5dab2745c3 /drv_G15.c | |
parent | 616665a32d0e4eb368c6346168e91cfeda42583f (diff) | |
download | lcd4linux-7318d07f8950d3469d76537ce1d96f863085ba7c.tar.gz |
various compiler warnings fixed
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1153 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_G15.c')
-rw-r--r-- | drv_G15.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |