include/nuttx/notifier:fix compiling error.

Signed-off-by: 田昕 <tianxin7@xiaomi.com>
This commit is contained in:
田昕 2022-12-05 21:24:13 +08:00 committed by Xiang Xiao
parent 9c27d96b8a
commit b9c913a195
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ extern "C"
FAR struct atomic_notifier_head *nh = (nhead); \ FAR struct atomic_notifier_head *nh = (nhead); \
irqstate_t flags; \ irqstate_t flags; \
flags = enter_critical_section(); \ flags = enter_critical_section(); \
notifier_chain_unregister(nh->head, (nb); \ notifier_chain_unregister(nh->head, (nb)); \
leave_critical_section(flags); \ leave_critical_section(flags); \
} \ } \
while(0) while(0)