xiaoxiang781216 commented on code in PR #12599:
URL: https://github.com/apache/nuttx/pull/12599#discussion_r1677003598
##########
drivers/note/note_driver.c:
##########
@@ -1170,6 +1170,27 @@ void sched_note_spinlock(FAR struct tcb_s *tcb,
note_add(*driver, ¬e, sizeof(struct note_spinlock_s));
}
}
+
+void sched_note_spinlock_lock(FAR volatile spinlock_t *spinlock)
+{
+ sched_note_spinlock(NULL, spinlock, NOTE_SPINLOCK_LOCK);
Review Comment:
why pass NULL here?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]