diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 15:32:26 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 15:32:26 +1000 |
commit | 1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e (patch) | |
tree | 3ffb1a5fd2d8e7f08b7b45938824ecbab1170288 /demos/modules/gos/threads | |
parent | 93da5a0578e7f16ea846eb257f36a24e316ef8d4 (diff) | |
download | uGFX-1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e.tar.gz uGFX-1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e.tar.bz2 uGFX-1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e.zip |
gThreadpriorityLow/Normal/High to replace LOW_/NORMAL_/HIGH_PRIORITY
Diffstat (limited to 'demos/modules/gos/threads')
-rw-r--r-- | demos/modules/gos/threads/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gos/threads/main.c b/demos/modules/gos/threads/main.c index 4ef81411..1caef39b 100644 --- a/demos/modules/gos/threads/main.c +++ b/demos/modules/gos/threads/main.c @@ -51,8 +51,8 @@ int main(void) gfxInit(); // Give this plenty of stack. Stack size optimisation should be a production change only - gfxThreadCreate(0, 2048, NORMAL_PRIORITY, heartbeat1, 0); - gfxThreadCreate(0, 2048, NORMAL_PRIORITY, heartbeat2, 0); + gfxThreadCreate(0, 2048, gThreadpriorityNormal, heartbeat1, 0); + gfxThreadCreate(0, 2048, gThreadpriorityNormal, heartbeat2, 0); while (1) { DEBUGWRITE("thread main\n"); |