diff options
Diffstat (limited to 'nuttx/drivers/mtd/at45db.c')
-rw-r--r-- | nuttx/drivers/mtd/at45db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/mtd/at45db.c b/nuttx/drivers/mtd/at45db.c index 037cc5e76..f4a695de0 100644 --- a/nuttx/drivers/mtd/at45db.c +++ b/nuttx/drivers/mtd/at45db.c @@ -276,7 +276,7 @@ static void at45db_lock(struct at45db_dev_s *priv) * the SPI buss. We will retain that exclusive access until the bus is unlocked. */ - SPI_LOCK(priv->spi, true); + (void)SPI_LOCK(priv->spi, 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. @@ -295,7 +295,7 @@ static void at45db_lock(struct at45db_dev_s *priv) static inline void at45db_unlock(struct at45db_dev_s *priv) { - SPI_LOCK(priv->spi, false); + (void)SPI_LOCK(priv->spi, false); } /************************************************************************************ |