include/nuttx/notifier:fix compiling error.
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
This commit is contained in:
parent
9c27d96b8a
commit
b9c913a195
|
@ -176,7 +176,7 @@ extern "C"
|
|||
FAR struct atomic_notifier_head *nh = (nhead); \
|
||||
irqstate_t flags; \
|
||||
flags = enter_critical_section(); \
|
||||
notifier_chain_unregister(nh->head, (nb); \
|
||||
notifier_chain_unregister(nh->head, (nb)); \
|
||||
leave_critical_section(flags); \
|
||||
} \
|
||||
while(0)
|
||||
|
|
Loading…
Reference in New Issue