diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-03-10 20:36:12 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-03-10 20:36:12 +1000 |
commit | 94f1cc2f0a4db0c6f1483e6d648068e031bcc094 (patch) | |
tree | 97f50372239108ec9e6e75a3d56e808e479cb7be /drivers/gdisp/RA6963 | |
parent | f265924396167729e8d9fb36a0383263f36c1270 (diff) | |
download | uGFX-94f1cc2f0a4db0c6f1483e6d648068e031bcc094.tar.gz uGFX-94f1cc2f0a4db0c6f1483e6d648068e031bcc094.tar.bz2 uGFX-94f1cc2f0a4db0c6f1483e6d648068e031bcc094.zip |
Change new colors to GFX_RED instead of GFXRED. Use the new color defs
Diffstat (limited to 'drivers/gdisp/RA6963')
-rwxr-xr-x | drivers/gdisp/RA6963/gdisp_lld_RA6963.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gdisp/RA6963/gdisp_lld_RA6963.c b/drivers/gdisp/RA6963/gdisp_lld_RA6963.c index 7cf741d6..97090d5e 100755 --- a/drivers/gdisp/RA6963/gdisp_lld_RA6963.c +++ b/drivers/gdisp/RA6963/gdisp_lld_RA6963.c @@ -234,7 +234,7 @@ LLDSPEC void gdisp_lld_write_color(GDisplay *g) { temp = RAM(g)[POS];
#endif
- if (g->p.color != White) {
+ if (g->p.color != GFX_WHITE) {
temp |= (1 << (RA6963_FONT_WIDTH - 1 - ((g->p.x) % RA6963_FONT_WIDTH)));
}
else {
@@ -292,7 +292,7 @@ LLDSPEC void gdisp_lld_fill_area(GDisplay *g) { uint8_t data, j;
set_viewport(g);
- if (g->p.color != White) {
+ if (g->p.color != GFX_WHITE) {
data = 0xFF; // set dot
}
else {
|