note: fix sched_note_suspend logic error
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
cb06ad5ec4
commit
d73fb5ca21
@ -736,7 +736,7 @@ void sched_note_suspend(FAR struct tcb_s *tcb)
|
||||
|
||||
for (driver = g_note_drivers; *driver; driver++)
|
||||
{
|
||||
if (!note_suspend(*driver, tcb))
|
||||
if (note_suspend(*driver, tcb))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user