diff options
author | reinelt <> | 2006-08-13 06:46:51 +0000 |
---|---|---|
committer | reinelt <> | 2006-08-13 06:46:51 +0000 |
commit | d3e904dd6fcaf98d8163c3584eba575e179d3ac4 (patch) | |
tree | 884ac9ec162cce83712ba2ea8d921f90e04b9307 /drv_G15.c | |
parent | e2fbd64db36bc3da8e53d8e04ce1a13e269083dd (diff) | |
download | lcd4linux-d3e904dd6fcaf98d8163c3584eba575e179d3ac4.tar.gz |
[lcd4linux @ 2006-08-13 06:46:51 by reinelt]
T6963 soft-timing & enhancements; indent
Diffstat (limited to 'drv_G15.c')
-rw-r--r-- | drv_G15.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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"); |