Invalid implementation of additional specific APIs to Free RTOS ???
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-19 2:01 AM
Posted on March 19, 2018 at 10:01
/**
* @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 ???
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-19 2:20 AM
Posted on March 19, 2018 at 10:20
Hello
P.Denis
‌,if function MUST only returnosOK, then it doesn't make sense to return anything.
Best regards,
Tilen
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-19 3:22 AM
Posted on March 19, 2018 at 10:22
Agree. Any posibility for '
If resuming the scheduler caused a context switch then pdTRUE is returned, otherwise pdFALSE is returned.' osError is confusing
