drivers/contactless: fix gcc14 errors
This commit is contained in:
parent
e700bb5051
commit
6c5f8bd61f
@ -39,6 +39,7 @@
|
||||
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/signal.h>
|
||||
#include <nuttx/power/pm.h>
|
||||
#include <nuttx/contactless/mfrc522.h>
|
||||
|
||||
#include "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 */
|
||||
};
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <assert.h>
|
||||
#include <debug.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
@ -32,6 +33,7 @@
|
||||
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/signal.h>
|
||||
#include <nuttx/power/pm.h>
|
||||
|
||||
#include "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 */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user