diff options
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 |