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 /src/gos/gos_cmsis2.c | |
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 'src/gos/gos_cmsis2.c')
-rw-r--r-- | src/gos/gos_cmsis2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gos/gos_cmsis2.c b/src/gos/gos_cmsis2.c index 31c79164..affc7a37 100644 --- a/src/gos/gos_cmsis2.c +++ b/src/gos/gos_cmsis2.c @@ -44,12 +44,12 @@ void _gosPostInit(void) osKernelInitialize(); /* Fall Through */ case osKernelReady: - gfxThreadCreate(0, GFX_OS_UGFXMAIN_STACKSIZE, NORMAL_PRIORITY, startUGFX_CMSIS2, 0); + gfxThreadCreate(0, GFX_OS_UGFXMAIN_STACKSIZE, gThreadpriorityNormal, startUGFX_CMSIS2, 0); osKernelStart(); gfxHalt("Unable to start CMSIS V2 scheduler. Out of memory?"); break; default: - gfxThreadCreate(0, GFX_OS_UGFXMAIN_STACKSIZE, NORMAL_PRIORITY, startUGFX_CMSIS2, 0); + gfxThreadCreate(0, GFX_OS_UGFXMAIN_STACKSIZE, gThreadpriorityNormal, startUGFX_CMSIS2, 0); break; } #endif |