aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_image.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 /src/gwin/gwin_image.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 'src/gwin/gwin_image.c')
-rw-r--r--src/gwin/gwin_image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gwin/gwin_image.c b/src/gwin/gwin_image.c
index d19c4d30..c40ecc81 100644
--- a/src/gwin/gwin_image.c
+++ b/src/gwin/gwin_image.c
@@ -99,10 +99,10 @@ static void ImageRedraw(GHandle gh) {
// Wait for that delay if required
switch(delay) {
- case TIME_INFINITE:
+ case gDelayForever:
// Everything is done
break;
- case TIME_IMMEDIATE:
+ case gDelayNone:
// We can't allow a continuous loop here as it would lock the system up so we delay for the minimum period
delay = 1;
// Fall through