mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
note: fix sched_note_suspend logic error
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
cb06ad5ec4
commit
d73fb5ca21
@@ -736,7 +736,7 @@ void sched_note_suspend(FAR struct tcb_s *tcb)
|
|||||||
|
|
||||||
for (driver = g_note_drivers; *driver; driver++)
|
for (driver = g_note_drivers; *driver; driver++)
|
||||||
{
|
{
|
||||||
if (!note_suspend(*driver, tcb))
|
if (note_suspend(*driver, tcb))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user