diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-02-27 06:14:46 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-02-27 06:14:46 +0000 |
commit | 99aac994aa825db8f1bac31e1c748049b45c3b8b (patch) | |
tree | a25268ffaeb5bc6340b8c520954fc0e1c8946346 /drv_LPH7508.c | |
parent | f5ca09365013ad01f33db2d2f58b222d6391b38d (diff) | |
download | lcd4linux-99aac994aa825db8f1bac31e1c748049b45c3b8b.tar.gz |
[lcd4linux @ 2006-02-27 06:14:46 by reinelt]
graphic bug resulting in all black pixels solved
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@648 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_LPH7508.c')
-rw-r--r-- | drv_LPH7508.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drv_LPH7508.c b/drv_LPH7508.c index cd53c8e..c5a1e30 100644 --- a/drv_LPH7508.c +++ b/drv_LPH7508.c @@ -1,4 +1,4 @@ -/* $Id: drv_LPH7508.c,v 1.9 2006/02/08 04:55:04 reinelt Exp $ +/* $Id: drv_LPH7508.c,v 1.10 2006/02/27 06:14:46 reinelt Exp $ * * driver for Pollin LPH7508 * @@ -23,6 +23,9 @@ * * * $Log: drv_LPH7508.c,v $ + * Revision 1.10 2006/02/27 06:14:46 reinelt + * graphic bug resulting in all black pixels solved + * * Revision 1.9 2006/02/08 04:55:04 reinelt * moved widget registration to drv_generic_graphic * @@ -208,7 +211,7 @@ static void drv_L7_blit(const int row, const int col, const int height, const in int a = p * SCOLS + c; /* bit mask */ unsigned char m = 1 << (r % 8); - if (drv_generic_graphic_gray(r, c)) { + if (drv_generic_graphic_black(r, c)) { /* set bit */ Buffer1[a] |= m; } else { @@ -482,7 +485,7 @@ int drv_L7_init(const char *section, const int quiet) { int ret; - info("%s: %s", Name, "$Revision: 1.9 $"); + info("%s: %s", Name, "$Revision: 1.10 $"); /* real worker functions */ drv_generic_graphic_real_blit = drv_L7_blit; @@ -509,6 +512,7 @@ int drv_L7_init(const char *section, const int quiet) } } + /* register plugins */ AddFunction("LCD::contrast", 1, plugin_contrast); |