diff --git a/drivers/contactless/mfrc522.c b/drivers/contactless/mfrc522.c index 1681aa9711..ae2614e309 100644 --- a/drivers/contactless/mfrc522.c +++ b/drivers/contactless/mfrc522.c @@ -39,6 +39,7 @@ #include #include +#include #include #include "mfrc522.h" diff --git a/drivers/contactless/mfrc522.h b/drivers/contactless/mfrc522.h index 602f7321c0..0f5c46caf5 100644 --- a/drivers/contactless/mfrc522.h +++ b/drivers/contactless/mfrc522.h @@ -409,6 +409,7 @@ struct mfrc522_dev_s { uint8_t state; + uint8_t pm_level; FAR struct spi_dev_s *spi; /* SPI interface */ }; diff --git a/drivers/contactless/pn532.c b/drivers/contactless/pn532.c index b34262cf21..680fc895ad 100644 --- a/drivers/contactless/pn532.c +++ b/drivers/contactless/pn532.c @@ -24,6 +24,7 @@ #include #include +#include #include #include #include @@ -32,6 +33,7 @@ #include #include +#include #include "pn532.h" diff --git a/drivers/contactless/pn532.h b/drivers/contactless/pn532.h index 4952e42823..2b4b8d2628 100644 --- a/drivers/contactless/pn532.h +++ b/drivers/contactless/pn532.h @@ -141,6 +141,7 @@ struct pn_firmware_version struct pn532_dev_s { uint8_t state; + uint8_t pm_level; FAR struct spi_dev_s *spi; /* SPI interface */ FAR struct pn532_config_s *config; /* Board configuration data */ };