include/nuttx/spi.h Fix SPIDEVID_TYPE macro definition

Remove space between macro name and parentheses
This commit is contained in:
paolovolpi 2023-06-02 09:18:25 +02:00 committed by Alan Carvalho de Assis
parent f71fb738c5
commit 90a34422ed

View File

@ -443,7 +443,7 @@
/* This retrieves the fields from a SPI devid */
#define SPIDEVID_TYPE (devid) (((uint32_t)(devid) >> 16) & 0xffff)
#define SPIDEVID_TYPE(devid) (((uint32_t)(devid) >> 16) & 0xffff)
#define SPIDEVID_INDEX(devid) ((uint32_t)(devid) & 0xffff)
/* These are standard definitions for the defined SPI device IDs. The index