From b9c913a195c45d2ea71b2b07674750d806cacc43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E6=98=95?= Date: Mon, 5 Dec 2022 21:24:13 +0800 Subject: [PATCH] include/nuttx/notifier:fix compiling error. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 田昕 --- include/nuttx/notifier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/notifier.h b/include/nuttx/notifier.h index c6b27e2a56..3f1e3fd686 100644 --- a/include/nuttx/notifier.h +++ b/include/nuttx/notifier.h @@ -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)