Skip to content

Commit

Permalink
Update include/nuttx/spinlock.h
Browse files Browse the repository at this point in the history
Co-authored-by: Xiang Xiao <[email protected]>
  • Loading branch information
TaiJuWu and xiaoxiang781216 authored Oct 6, 2023
1 parent 1ea1fac commit 9781fe7
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 @@ -52,7 +52,7 @@ typedef uint8_t spinlock_t;
#include <arch/spinlock.h>

#if defined(CONFIG_RW_SPINLOCK)
typedef uint32_t rwlock_t;
typedef int32_t rwlock_t;
#endif

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

0 comments on commit 9781fe7

Please sign in to comment.