spi.h edited online with Bitbucket

This commit is contained in:
Gregory Nutt 2017-04-29 15:46:37 +00:00
parent 4ca4d2395b
commit 73c78fb690

View File

@ -425,7 +425,7 @@
/* This builds a SPI devid from its type and index */
#define SPIDEV_ID(type,index) ((((uint32_t)(type) & 0xffff) << 16) | \
(uint32_t)(index) & 0xffff)
((uint32_t)(index) & 0xffff))
/* This retrieves the fields from a SPI devid */