diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 15:15:15 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 15:15:15 +1000 |
commit | 93da5a0578e7f16ea846eb257f36a24e316ef8d4 (patch) | |
tree | b0e08e991919fdb1fa9079b0ea40c23909cbcd3e /demos/modules/ginput/keyboard | |
parent | 215f31ee3dd27f461540384cdba04b58b481fadc (diff) | |
download | uGFX-93da5a0578e7f16ea846eb257f36a24e316ef8d4.tar.gz uGFX-93da5a0578e7f16ea846eb257f36a24e316ef8d4.tar.bz2 uGFX-93da5a0578e7f16ea846eb257f36a24e316ef8d4.zip |
gDelayNone/gDelayForever to replace TIME_IMMEDIATE/TIME_INFINITE
Diffstat (limited to 'demos/modules/ginput/keyboard')
-rw-r--r-- | demos/modules/ginput/keyboard/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/modules/ginput/keyboard/main.c b/demos/modules/ginput/keyboard/main.c index e521207f..12aa6585 100644 --- a/demos/modules/ginput/keyboard/main.c +++ b/demos/modules/ginput/keyboard/main.c @@ -70,7 +70,7 @@ int main(void) { while(1) { // Get an Event - pk = (GEventKeyboard *)geventEventWait(&gl, TIME_INFINITE); + pk = (GEventKeyboard *)geventEventWait(&gl, gDelayForever); if (pk->type != GEVENT_KEYBOARD) continue; |