I’m looking at the state diagram: https://www.freertos.org/RTOS-task-states.html
The diagram shows that a resumed task goes from the Suspended to the Ready state. What if the suspended task was initially blocked on a semaphore before being suspended? Wouldn’t a task blocking on a semaphore return to the Blocked state? Or does the task fail in this case once it goes from Ready to Running?