diff options
Diffstat (limited to 'src/rfid_reader.c')
-rw-r--r-- | src/rfid_reader.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rfid_reader.c b/src/rfid_reader.c index e0f0d3d..39a4a07 100644 --- a/src/rfid_reader.c +++ b/src/rfid_reader.c @@ -24,12 +24,18 @@ #include <librfid/rfid_reader.h> #include <librfid/rfid_reader_cm5121.h> #include <librfid/rfid_reader_openpcd.h> +#include <librfid/rfid_reader_spidev.h> static const struct rfid_reader *rfid_readers[] = { +#ifdef HAVE_LIBUSB #ifdef ENABLE_CM5121 [RFID_READER_CM5121] = &rfid_reader_cm5121, #endif [RFID_READER_OPENPCD] = &rfid_reader_openpcd, +#endif +#ifdef ENABLE_SPIDEV + [RFID_READER_SPIDEV] = &rfid_reader_spidev, +#endif }; struct rfid_reader_handle * |