include/nuttx/spi.h Fix SPIDEVID_TYPE macro definition
Remove space between macro name and parentheses
This commit is contained in:
parent
f71fb738c5
commit
90a34422ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user