diff options
Diffstat (limited to 'drivers/gdisp/Nokia6610GE8')
-rw-r--r-- | drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c | 4 | ||||
-rw-r--r-- | drivers/gdisp/Nokia6610GE8/gdisp_lld_config.h | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c b/drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c index 8488d732..1eea9e58 100644 --- a/drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c +++ b/drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c @@ -34,7 +34,7 @@ * * Some of the more modern controllers have a broken command set. If you have one of these * you will recognise it by the colors being off on anything drawn after an odd (as opposed to - * even) pixel count area being drawn. If so then set GDISP_GE8_BROKEN_CONTROLLER to TRUE + * even) pixel count area being drawn. If so then set GDISP_GE8_BROKEN_CONTROLLER to GFXON * on your gdisp_lld_board.h file. The price is that streaming calls that are completed * without exactly the window size write operations and where the number of write operations * is odd (rather than even), it will draw an extra pixel. If this is important to you, turn on @@ -67,7 +67,7 @@ // Set parameters if they are not already set #ifndef GDISP_GE8_BROKEN_CONTROLLER - #define GDISP_GE8_BROKEN_CONTROLLER TRUE + #define GDISP_GE8_BROKEN_CONTROLLER GFXON #endif #ifndef GDISP_SCREEN_HEIGHT #define GDISP_SCREEN_HEIGHT 130 diff --git a/drivers/gdisp/Nokia6610GE8/gdisp_lld_config.h b/drivers/gdisp/Nokia6610GE8/gdisp_lld_config.h index 83b2d629..1735088f 100644 --- a/drivers/gdisp/Nokia6610GE8/gdisp_lld_config.h +++ b/drivers/gdisp/Nokia6610GE8/gdisp_lld_config.h @@ -20,17 +20,17 @@ * define GDISP_NOKIA_ORIENTATION as false in your gfxconf.h. */ #ifndef GDISP_NOKIA_ORIENTATION - #define GDISP_NOKIA_ORIENTATION TRUE + #define GDISP_NOKIA_ORIENTATION GFXON #endif #if GDISP_NOKIA_ORIENTATION && GDISP_NEED_CONTROL - #define GDISP_HARDWARE_CONTROL TRUE - #define GDISP_HARDWARE_DRAWPIXEL TRUE - #define GDISP_HARDWARE_FILLS TRUE - #define GDISP_HARDWARE_BITFILLS TRUE + #define GDISP_HARDWARE_CONTROL GFXON + #define GDISP_HARDWARE_DRAWPIXEL GFXON + #define GDISP_HARDWARE_FILLS GFXON + #define GDISP_HARDWARE_BITFILLS GFXON #else - #define GDISP_HARDWARE_CONTROL TRUE - #define GDISP_HARDWARE_STREAM_WRITE TRUE + #define GDISP_HARDWARE_CONTROL GFXON + #define GDISP_HARDWARE_STREAM_WRITE GFXON #endif #define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_RGB444 |