LPC43xx: Fix some errors/warnings in ADC driver

This commit is contained in:
Gregory Nutt 2016-01-15 13:37:12 -06:00
parent 6c2cd3edee
commit 027e5ef1a1
2 changed files with 9 additions and 9 deletions

View File

@ -565,9 +565,9 @@ static void ssp_exchange(FAR struct spi_dev_s *dev, FAR const void *txbuffer,
FAR struct lpc43_sspdev_s *priv = (FAR struct lpc43_sspdev_s *)dev; FAR struct lpc43_sspdev_s *priv = (FAR struct lpc43_sspdev_s *)dev;
union union
{ {
FAR uint8_t *p8; FAR const uint8_t *p8;
FAR uint16_t *p16; FAR const uint16_t *p16;
FAR void *pv; FAR const void *pv;
} tx; } tx;
union union
{ {