xiaoxiang781216 commented on a change in pull request #1115:
URL: https://github.com/apache/incubator-nuttx/pull/1115#discussion_r431099741
##########
File path: arch/arm/src/samv7/sam_spi_slave.c
##########
@@ -485,7 +486,8 @@ static int spi_interrupt(int irq, void *context, FAR void
*arg)
/* Report the receipt of data to the SPI device driver */
- SPI_SDEV_RECEIVE(priv->sdev, data);
+ SPI_SDEV_RECEIVE(priv->sdev, (const uint16_t *)&data,
Review comment:
should we return error if nwords != 1 for all new function?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]