]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/commit
OSAL:FreeRTOS: Fix isues with getThreadType API
authorDon Dominic <a0486429@ti.com>
Thu, 8 Apr 2021 14:37:49 +0000 (20:07 +0530)
committerDon Dominic <a0486429@ti.com>
Thu, 8 Apr 2021 14:37:49 +0000 (20:07 +0530)
commit2f83a5314761e3acda19f6eda361606100859e70
tree24fd3b6e6dcce3d0282bd72fcf51f0b362ddd8ac
parent14ea6064018caa345a07cc05b67d262d93477980
OSAL:FreeRTOS: Fix isues with getThreadType API

- Osal_getThreadType was returing "Osal_ThreadType_Task" if its not HWI
- Check for Schedular started or not was missing.
- Added check for the same and return "Osal_ThreadType_Main" if Schedular is not yet started

Signed-off-by: Don Dominic <a0486429@ti.com>
packages/ti/osal/src/freertos/Utils_freertos.c