From cf48e3c73f884d28b715db676a6777c32af702dc Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 25 Jul 2012 18:41:10 +0000 Subject: Add support for the TI PGA11x amplifier/multiplexer git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4977 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/drivers/mtd/sst25.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/drivers/mtd/sst25.c') diff --git a/nuttx/drivers/mtd/sst25.c b/nuttx/drivers/mtd/sst25.c index 717a9c898..01838f078 100644 --- a/nuttx/drivers/mtd/sst25.c +++ b/nuttx/drivers/mtd/sst25.c @@ -273,7 +273,7 @@ static void sst25_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. @@ -292,7 +292,7 @@ static void sst25_lock(FAR struct spi_dev_s *dev) static inline void sst25_unlock(FAR struct spi_dev_s *dev) { - SPI_LOCK(dev, false); + (void)SPI_LOCK(dev, false); } /************************************************************************************ -- cgit v1.2.3