diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 14:30:31 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 14:30:31 +1000 |
commit | 215f31ee3dd27f461540384cdba04b58b481fadc (patch) | |
tree | 1a100121d47819202187914dc4a321cfb7030351 /demos/modules/gos/threads/main.c | |
parent | e23ae94e91369501df310bc3afd4ab711d263cab (diff) | |
download | uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.tar.gz uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.tar.bz2 uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.zip |
Added type gDelay to replace V2.x delaytime_t
Added type gTicks to replace V2.x systemticks_t
Added type gThreadreturn to replace V2.x threadreturn_t
Added type gThreadpriority to replace V2.x threadpriority_t
Diffstat (limited to 'demos/modules/gos/threads/main.c')
-rw-r--r-- | demos/modules/gos/threads/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/modules/gos/threads/main.c b/demos/modules/gos/threads/main.c index 56ea4bb9..4ef81411 100644 --- a/demos/modules/gos/threads/main.c +++ b/demos/modules/gos/threads/main.c @@ -22,7 +22,7 @@ #error "--" #endif -threadreturn_t heartbeat1(void* param) +gThreadreturn heartbeat1(void* param) { (void)param; @@ -31,10 +31,10 @@ threadreturn_t heartbeat1(void* param) gfxSleepMilliseconds(500); } - return (threadreturn_t)0; + return (gThreadreturn)0; } -threadreturn_t heartbeat2(void* param) +gThreadreturn heartbeat2(void* param) { (void)param; @@ -43,7 +43,7 @@ threadreturn_t heartbeat2(void* param) gfxSleepMilliseconds(900); } - return (threadreturn_t)0; + return (gThreadreturn)0; } int main(void) |