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/mtd/m25px.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/mtd/m25px.c')
-rw-r--r-- | nuttx/drivers/mtd/m25px.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/mtd/m25px.c b/nuttx/drivers/mtd/m25px.c index 8ff1c717d..4f96c5a3b 100644 --- a/nuttx/drivers/mtd/m25px.c +++ b/nuttx/drivers/mtd/m25px.c @@ -232,7 +232,7 @@ static void m25p_lock(FAR struct spi_dev_s *dev) * the SPI buss. We will retain that exclusive access until the bus is unlocked. */ - SPI_LOCK(dev, true); + (void)SPI_LOCK(dev, true); /* After locking the SPI bus, the we also need call the setfrequency, setbits, and * setmode methods to make sure that the SPI is properly configured for the device. @@ -251,7 +251,7 @@ static void m25p_lock(FAR struct spi_dev_s *dev) static inline void m25p_unlock(FAR struct spi_dev_s *dev) { - SPI_LOCK(dev, false); + (void)SPI_LOCK(dev, false); } /************************************************************************************ |