2018-03-19 02:01 AM
/**
* @brief Resume execution of a all suspended threads.* @retval status code that indicates the execution status of the function.*/osStatus osThreadResumeAll (void){ if (xTaskResumeAll() == pdTRUE) return osOK; else return osErrorOS;}MUST always return osOK ???
2018-03-19 02:20 AM
Hello
P.Denis
,if function MUST only returnosOK, then it doesn't make sense to return anything.
Best regards,
Tilen
2018-03-19 03:22 AM
Agree. Any posibility for '
If resuming the scheduler caused a context switch then pdTRUE is returned, otherwise pdFALSE is returned.' osError is confusing