This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit d73fb5ca21b9a691351011b7afeae2b82fb10133 Author: yinshengkai <yinsheng...@xiaomi.com> AuthorDate: Wed Mar 15 11:31:59 2023 +0800 note: fix sched_note_suspend logic error Signed-off-by: yinshengkai <yinsheng...@xiaomi.com> --- drivers/note/note_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }