aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gadc
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-03-10 20:36:12 +1000
committerinmarket <andrewh@inmarket.com.au>2018-03-10 20:36:12 +1000
commit94f1cc2f0a4db0c6f1483e6d648068e031bcc094 (patch)
tree97f50372239108ec9e6e75a3d56e808e479cb7be /demos/modules/gadc
parentf265924396167729e8d9fb36a0383263f36c1270 (diff)
downloaduGFX-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 'demos/modules/gadc')
-rw-r--r--demos/modules/gadc/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/modules/gadc/main.c b/demos/modules/gadc/main.c
index ae508278..ee54a118 100644
--- a/demos/modules/gadc/main.c
+++ b/demos/modules/gadc/main.c
@@ -160,8 +160,8 @@ int main(void) {
wi.height = sheight;
ghText = gwinConsoleCreate(&gTextWindow, &wi);
}
- gwinSetBgColor(ghText, Black);
- gwinSetColor(ghText, Yellow);
+ gwinSetBgColor(ghText, GFX_BLACK);
+ gwinSetColor(ghText, GFX_YELLOW);
gwinClear(ghText);
/* Start our timer for reading the dial */
@@ -195,8 +195,8 @@ int main(void) {
wi.height = SCOPE_CY;
ghScope = gwinScopeCreate(&gScopeWindow, &wi, MY_MIC_DEVICE, MY_MIC_FREQUENCY);
}
- gwinSetBgColor(ghScope, White);
- gwinSetColor(ghScope, Red);
+ gwinSetBgColor(ghScope, GFX_WHITE);
+ gwinSetColor(ghScope, GFX_RED);
gwinClear(ghScope);
/* Just keep displaying the scope traces */