freertos-addons icon indicating copy to clipboard operation
freertos-addons copied to clipboard

Probably Invalid MainThreadID

Open innerand opened this issue 5 years ago • 0 comments

Called at this point, this returns the ID of hSigSetupThread which is different from the MainThreadID.

https://github.com/michaelbecker/freertos-addons/blob/8f408a2f37e0322439d9a058b0f8c96bb0db65ab/Linux/portable/GCC/Linux/port.c#L417

Breaks vTaskSchedulerEnd() as the actual main thread is never woken.

innerand avatar May 27 '19 09:05 innerand