xiaoxiang781216 commented on a change in pull request #1115:
URL: https://github.com/apache/incubator-nuttx/pull/1115#discussion_r431124137
##########
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:
Ok, I am fine without the check.
----------------------------------------------------------------
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]