mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-17 15:32:21 +08:00
examples: Add depends on
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
config EXAMPLES_RFID_READUID
|
||||
tristate "RFID Read UID example"
|
||||
default n
|
||||
depends on CL_MFRC522
|
||||
---help---
|
||||
Enable the RFID READUID example
|
||||
|
||||
|
@@ -37,15 +37,10 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_CL_MFRC522
|
||||
# error "CONFIG_CL_MFRC522 is not defined in the configuration"
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_RFID_READUID_DEVNAME
|
||||
# define CONFIG_EXAMPLES_RFID_READUID_DEVNAME "/dev/rfid0"
|
||||
#endif
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
Reference in New Issue
Block a user