mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 09:51:36 +08:00
Fix STM32 F2/F4 SDIO clocking; Clean-up files in sched/ directory
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4940 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -83,9 +83,8 @@
|
||||
* g_readytorun list) has changed.
|
||||
*
|
||||
* Assumptions:
|
||||
* - The caller has established a critical section before
|
||||
* calling this function (calling sched_lock() first is NOT
|
||||
* a good idea -- use irqsave()).
|
||||
* - The caller has established a critical section before calling this
|
||||
* function (calling sched_lock() first is NOT a good idea -- use irqsave()).
|
||||
* - The caller handles the condition that occurs if the
|
||||
* the head of the g_readytorun list is changed.
|
||||
*
|
||||
@@ -95,9 +94,8 @@ bool sched_removereadytorun(FAR _TCB *rtcb)
|
||||
{
|
||||
bool ret = false;
|
||||
|
||||
/* Check if the TCB to be removed is at the head of the ready
|
||||
* to run list. In this case, we are removing the currently
|
||||
* active task.
|
||||
/* Check if the TCB to be removed is at the head of the ready to run list.
|
||||
* In this case, we are removing the currently active task.
|
||||
*/
|
||||
|
||||
if (!rtcb->blink)
|
||||
|
||||
Reference in New Issue
Block a user