diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-25 18:41:10 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-25 18:41:10 +0000 |
commit | 80d1c7ab4590471dca46d4ae7ae5d3211ad2cf8d (patch) | |
tree | e1361e761b01704d1ad41b9f89c9501a42610b4a /nuttx/drivers/input/ads7843e.c | |
parent | f5ab5978905faf5b9bd81c2c2463a25cd75325ae (diff) | |
download | px4-nuttx-80d1c7ab4590471dca46d4ae7ae5d3211ad2cf8d.tar.gz px4-nuttx-80d1c7ab4590471dca46d4ae7ae5d3211ad2cf8d.tar.bz2 px4-nuttx-80d1c7ab4590471dca46d4ae7ae5d3211ad2cf8d.zip |
Add support for the TI PGA11x amplifier/multiplexer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4977 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/input/ads7843e.c')
-rw-r--r-- | nuttx/drivers/input/ads7843e.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/input/ads7843e.c b/nuttx/drivers/input/ads7843e.c index 4db412ea4..750b91ff2 100644 --- a/nuttx/drivers/input/ads7843e.c +++ b/nuttx/drivers/input/ads7843e.c @@ -183,7 +183,7 @@ static void ads7843e_select(FAR struct spi_dev_s *spi) * devices competing for the SPI bus */ - SPI_LOCK(spi, true); + (void)SPI_LOCK(spi, true); SPI_SELECT(spi, SPIDEV_TOUCHSCREEN, true); /* Now make sure that the SPI bus is configured for the ADS7843 (it @@ -229,7 +229,7 @@ static void ads7843e_deselect(FAR struct spi_dev_s *spi) /* De-select ADS7843 chip and relinquish the SPI bus. */ SPI_SELECT(spi, SPIDEV_TOUCHSCREEN, false); - SPI_LOCK(spi, false); + (void)SPI_LOCK(spi, false); } #endif |