aboutsummaryrefslogtreecommitdiffstats
path: root/drv_G15.c
diff options
context:
space:
mode:
authorreinelt <>2006-08-13 06:46:51 +0000
committerreinelt <>2006-08-13 06:46:51 +0000
commitd3e904dd6fcaf98d8163c3584eba575e179d3ac4 (patch)
tree884ac9ec162cce83712ba2ea8d921f90e04b9307 /drv_G15.c
parente2fbd64db36bc3da8e53d8e04ce1a13e269083dd (diff)
downloadlcd4linux-d3e904dd6fcaf98d8163c3584eba575e179d3ac4.tar.gz
[lcd4linux @ 2006-08-13 06:46:51 by reinelt]
T6963 soft-timing & enhancements; indent
Diffstat (limited to '')
-rw-r--r--drv_G15.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/drv_G15.c b/drv_G15.c
index 53511e9..13ef51d 100644
--- a/drv_G15.c
+++ b/drv_G15.c
@@ -1,4 +1,4 @@
-/* $Id: drv_G15.c,v 1.9 2006/07/12 21:01:41 reinelt Exp $
+/* $Id: drv_G15.c,v 1.10 2006/08/13 06:46:51 reinelt Exp $
*
* Driver for Logitech G-15 keyboard LCD screen
*
@@ -24,6 +24,9 @@
*
*
* $Log: drv_G15.c,v $
+ * Revision 1.10 2006/08/13 06:46:51 reinelt
+ * T6963 soft-timing & enhancements; indent
+ *
* Revision 1.9 2006/07/12 21:01:41 reinelt
* thread_destroy, minor cleanups
*
@@ -422,8 +425,8 @@ static void drv_G15_blit(const int row, const int col, const int height, const i
DEBUG("entered");
- for (r = row; r < row + height && r < DROWS; r++) {
- for (c = col; c < col + width && c < DCOLS; c++) {
+ for (r = row; r < row + height; r++) {
+ for (c = col; c < col + width; c++) {
g15_image[r * 160 + c] = drv_generic_graphic_black(r, c);
}
}
@@ -539,7 +542,7 @@ int drv_G15_init(const char *section, const int quiet)
{
int ret;
- info("%s: %s", Name, "$Revision: 1.9 $");
+ info("%s: %s", Name, "$Revision: 1.10 $");
DEBUG("entered");