author | Don Dominic <a0486429@ti.com> | |
Thu, 8 Apr 2021 14:37:49 +0000 (20:07 +0530) | ||
committer | Don Dominic <a0486429@ti.com> | |
Thu, 8 Apr 2021 14:37:49 +0000 (20:07 +0530) | ||
commit | 2f83a5314761e3acda19f6eda361606100859e70 | |
tree | 24fd3b6e6dcce3d0282bd72fcf51f0b362ddd8ac | tree | snapshot (tar.xz tar.gz zip) |
parent | 14ea6064018caa345a07cc05b67d262d93477980 | commit | diff |
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>
- 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 | diff | blob | history |