aboutsummaryrefslogtreecommitdiffstats
path: root/drv_G15.c
diff options
context:
space:
mode:
authorreinelt <>2006-01-30 05:47:38 +0000
committerreinelt <>2006-01-30 05:47:38 +0000
commit9597a85a3a5c94664f0026a85a75daa9c58dcb0b (patch)
treee9b5c891e426a38a451e52fbd9ece443b5f59457 /drv_G15.c
parent0a50da0d92193cfbd2a555f5bc57ebc87eaae451 (diff)
downloadlcd4linux-9597a85a3a5c94664f0026a85a75daa9c58dcb0b.tar.gz
[lcd4linux @ 2006-01-30 05:47:34 by reinelt]
graphic subsystem changed to full-color RGBA
Diffstat (limited to '')
-rw-r--r--drv_G15.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drv_G15.c b/drv_G15.c
index 1e504f5..e1efff4 100644
--- a/drv_G15.c
+++ b/drv_G15.c
@@ -1,4 +1,4 @@
-/* $Id: drv_G15.c,v 1.2 2006/01/21 17:43:25 reinelt Exp $
+/* $Id: drv_G15.c,v 1.3 2006/01/30 05:47:38 reinelt Exp $
*
* Driver for Logitech G-15 keyboard LCD screen
*
@@ -24,6 +24,9 @@
*
*
* $Log: drv_G15.c,v $
+ * Revision 1.3 2006/01/30 05:47:38 reinelt
+ * graphic subsystem changed to full-color RGBA
+ *
* Revision 1.2 2006/01/21 17:43:25 reinelt
* minor cosmetic fixes
*
@@ -157,7 +160,7 @@ static void drv_G15_update_img()
DEBUG("output array prepared");
- usb_bulk_write(g15_lcd, 0x02, (char*)output, 992, 1000);
+ usb_bulk_write(g15_lcd, 0x02, (char *) output, 992, 1000);
usleep(300);
DEBUG("data written to LCD");
@@ -179,7 +182,7 @@ static void drv_G15_blit(const int row, const int col, const int height, const i
for (r = row; r < row + height; r++) {
for (c = col; c < col + width; c++) {
- g15_image[r * 160 + c] = (drv_generic_graphic_FB[r * LCOLS + c]);
+ g15_image[r * 160 + c] = drv_generic_graphic_gray(r, c);
}
}