xiaoxiang781216 commented on code in PR #7841: URL: https://github.com/apache/nuttx/pull/7841#discussion_r1051328904
########## drivers/note/note_driver.c: ########## @@ -416,203 +474,346 @@ void sched_note_start(FAR struct tcb_s *tcb) return; } - /* Copy the task name (if possible) and get the length of the note */ + for (driver = g_note_drivers; *driver; driver++) + { + if (note_start(*driver, tcb)) + { + continue; + } + + if (!formatted && (*driver)->ops->add) Review Comment: ```suggestion if ((*driver)->ops->add == NULL) { continue; } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org