mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 20:27:53 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue