You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/10/12 18:03:46 UTC
(nuttx) branch master updated: drivers/input: fix complie err about undefined
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 3f1fd42f73 drivers/input: fix complie err about undefined
3f1fd42f73 is described below
commit 3f1fd42f73fb4900cfeb2e53aa7b628ca84f57d5
Author: fangpeina <fa...@xiaomi.com>
AuthorDate: Sat Sep 14 16:24:49 2024 +0800
drivers/input: fix complie err about undefined
There will be compilation errors about undefined reference to `enter_critical_section'.
Fixed by include irq.h
Signed-off-by: fangpeina <fa...@xiaomi.com>
---
drivers/input/ff_upper.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/input/ff_upper.c b/drivers/input/ff_upper.c
index c9b8b9dcdc..dd4967605d 100644
--- a/drivers/input/ff_upper.c
+++ b/drivers/input/ff_upper.c
@@ -28,6 +28,7 @@
#include <nuttx/input/ff.h>
#include <nuttx/kmalloc.h>
#include <nuttx/mutex.h>
+#include <nuttx/irq.h>
/****************************************************************************
* Pre-processor Definitions