aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gadc/gwinosc.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-07-08 15:15:15 +1000
committerinmarket <andrewh@inmarket.com.au>2018-07-08 15:15:15 +1000
commit93da5a0578e7f16ea846eb257f36a24e316ef8d4 (patch)
treeb0e08e991919fdb1fa9079b0ea40c23909cbcd3e /demos/modules/gadc/gwinosc.c
parent215f31ee3dd27f461540384cdba04b58b481fadc (diff)
downloaduGFX-93da5a0578e7f16ea846eb257f36a24e316ef8d4.tar.gz
uGFX-93da5a0578e7f16ea846eb257f36a24e316ef8d4.tar.bz2
uGFX-93da5a0578e7f16ea846eb257f36a24e316ef8d4.zip
gDelayNone/gDelayForever to replace TIME_IMMEDIATE/TIME_INFINITE
Diffstat (limited to 'demos/modules/gadc/gwinosc.c')
-rw-r--r--demos/modules/gadc/gwinosc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/modules/gadc/gwinosc.c b/demos/modules/gadc/gwinosc.c
index 4f89a262..b018fe7e 100644
--- a/demos/modules/gadc/gwinosc.c
+++ b/demos/modules/gadc/gwinosc.c
@@ -101,7 +101,7 @@ void gwinScopeWaitForTrace(GHandle gh) {
return;
/* Wait for a set of conversions */
- pd = gadcHighSpeedGetData(TIME_INFINITE);
+ pd = gadcHighSpeedGetData(gDelayForever);
/* Ensure we are drawing in the right area */
#if GDISP_NEED_CLIP