Skip to content

Commit

Permalink
splinlock: fix typo of sched_note_spinlock_unlock()
Browse files Browse the repository at this point in the history
should be sched_note_spinlock_unlock() not sched_note_spinlock_unlocked()

Signed-off-by: chao an <[email protected]>
  • Loading branch information
anchao committed Aug 4, 2024
1 parent 88fb747 commit 8f3e1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nuttx/spinlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ void sched_note_spinlock_unlock(FAR volatile spinlock_t *spinlock);
# define sched_note_spinlock_lock(spinlock)
# define sched_note_spinlock_locked(spinlock)
# define sched_note_spinlock_abort(spinlock)
# define sched_note_spinlock_unlocked(spinlock)
# define sched_note_spinlock_unlock(spinlock)
#endif

/****************************************************************************
Expand Down

0 comments on commit 8f3e1e8

Please sign in to comment.