diff --git a/drivers/note/note_driver.c b/drivers/note/note_driver.c index bb9b06b08b..586f6fac3d 100644 --- a/drivers/note/note_driver.c +++ b/drivers/note/note_driver.c @@ -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; }