aboutsummaryrefslogtreecommitdiffstats
path: root/drv_serdisplib.c
diff options
context:
space:
mode:
authorreinelt <>2006-02-27 06:14:46 +0000
committerreinelt <>2006-02-27 06:14:46 +0000
commit02c64f740f569c77e56c469dfe8b6e882bfabeda (patch)
treea25268ffaeb5bc6340b8c520954fc0e1c8946346 /drv_serdisplib.c
parent440ecfb4a2b273bfa1d11fc201793a98b02add51 (diff)
downloadlcd4linux-02c64f740f569c77e56c469dfe8b6e882bfabeda.tar.gz
[lcd4linux @ 2006-02-27 06:14:46 by reinelt]
graphic bug resulting in all black pixels solved
Diffstat (limited to '')
-rw-r--r--drv_serdisplib.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drv_serdisplib.c b/drv_serdisplib.c
index d6b003c..c54cf72 100644
--- a/drv_serdisplib.c
+++ b/drv_serdisplib.c
@@ -1,4 +1,4 @@
-/* $Id: drv_serdisplib.c,v 1.8 2006/02/08 04:55:05 reinelt Exp $
+/* $Id: drv_serdisplib.c,v 1.9 2006/02/27 06:14:46 reinelt Exp $
*
* driver for serdisplib displays
*
@@ -23,6 +23,9 @@
*
*
* $Log: drv_serdisplib.c,v $
+ * Revision 1.9 2006/02/27 06:14:46 reinelt
+ * graphic bug resulting in all black pixels solved
+ *
* Revision 1.8 2006/02/08 04:55:05 reinelt
* moved widget registration to drv_generic_graphic
*
@@ -103,7 +106,7 @@ static void drv_SD_blit(const int row, const int col, const int height, const in
for (r = row; r < row + height; r++) {
for (c = col; c < col + width; c++) {
- color = drv_generic_graphic_gray(r, c) ? SD_COL_BLACK : SD_COL_WHITE;
+ color = drv_generic_graphic_black(r, c) ? SD_COL_BLACK : SD_COL_WHITE;
serdisp_setcolour(dd, c, r, color);
}
}
@@ -310,7 +313,7 @@ int drv_SD_init(const char *section, const int quiet)
{
int ret;
- info("%s: %s", Name, "$Revision: 1.8 $");
+ info("%s: %s", Name, "$Revision: 1.9 $");
/* real worker functions */
drv_generic_graphic_real_blit = drv_SD_blit;