mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 03:03:37 +08:00
include/nuttx/spi.h Fix SPIDEVID_TYPE macro definition
Remove space between macro name and parentheses
This commit is contained in:
committed by
Alan Carvalho de Assis
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
|
||||
|
||||
Reference in New Issue
Block a user