From 6c5f8bd61f29f1f8734314bd5cda9585dbf4231c Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Wed, 12 Jun 2024 11:06:31 +0200 Subject: [PATCH] drivers/contactless: fix gcc14 errors --- drivers/contactless/mfrc522.c | 1 + drivers/contactless/mfrc522.h | 1 + drivers/contactless/pn532.c | 2 ++ drivers/contactless/pn532.h | 1 + 4 files changed, 5 insertions(+) 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 */ };