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 6ca2b12bc..fab9d0d9b 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. */ - (void)SPI_LOCK(priv->spi, true); + 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) { - (void)SPI_LOCK(priv->spi, false); + SPI_LOCK(priv->spi, false); } /************************************************************************************ |