aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_freertos.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-07-08 15:32:26 +1000
committerinmarket <andrewh@inmarket.com.au>2018-07-08 15:32:26 +1000
commit1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e (patch)
tree3ffb1a5fd2d8e7f08b7b45938824ecbab1170288 /src/gos/gos_freertos.c
parent93da5a0578e7f16ea846eb257f36a24e316ef8d4 (diff)
downloaduGFX-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_freertos.c')
-rw-r--r--src/gos/gos_freertos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gos/gos_freertos.c b/src/gos/gos_freertos.c
index d4aa0462..7152997f 100644
--- a/src/gos/gos_freertos.c
+++ b/src/gos/gos_freertos.c
@@ -52,7 +52,7 @@ void _gosPostInit(void)
{
#if !GFX_OS_NO_INIT && GFX_OS_CALL_UGFXMAIN
if (xTaskGetSchedulerState() == taskSCHEDULER_NOT_STARTED) {
- gfxThreadCreate(0, GFX_OS_UGFXMAIN_STACKSIZE, NORMAL_PRIORITY, startUGFX_FreeRTOS, 0);
+ gfxThreadCreate(0, GFX_OS_UGFXMAIN_STACKSIZE, gThreadpriorityNormal, startUGFX_FreeRTOS, 0);
vTaskStartScheduler();
gfxHalt("Unable to start FreeRTOS scheduler. Out of memory?");
}