summaryrefslogtreecommitdiff
path: root/nuttx/drivers/mmcsd/mmcsd_spi.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-06-23 10:45:37 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-06-23 10:45:37 -0600
commit333edc2da8d4bad41a3ea553bf635cbad5119427 (patch)
tree51a3b6fc85306012f7317d707038db19e56db2ec /nuttx/drivers/mmcsd/mmcsd_spi.c
parentc82f81e5736e0c833e2c62603542e1cbbd83fed7 (diff)
downloadpx4-nuttx-333edc2da8d4bad41a3ea553bf635cbad5119427.tar.gz
px4-nuttx-333edc2da8d4bad41a3ea553bf635cbad5119427.tar.bz2
px4-nuttx-333edc2da8d4bad41a3ea553bf635cbad5119427.zip
Fix error in MMC/SD SPI driver introduced with some recent changes; Update TODO list
Diffstat (limited to 'nuttx/drivers/mmcsd/mmcsd_spi.c')
-rw-r--r--nuttx/drivers/mmcsd/mmcsd_spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/mmcsd/mmcsd_spi.c b/nuttx/drivers/mmcsd/mmcsd_spi.c
index bb026954d..be4ebdcdc 100644
--- a/nuttx/drivers/mmcsd/mmcsd_spi.c
+++ b/nuttx/drivers/mmcsd/mmcsd_spi.c
@@ -365,8 +365,8 @@ static void mmcsd_semtake(FAR struct mmcsd_slot_s *slot)
*/
SPI_SETFREQUENCY(slot->spi, slot->spispeed);
- SPI_SETMODE(slot->sp, CONFIG_MMCSD_SPIMODE);
- SPI_SETBITS(slot->sp, 8);
+ SPI_SETMODE(slot->spi, CONFIG_MMCSD_SPIMODE);
+ SPI_SETBITS(slot->spi, 8);
#endif
/* Get exclusive access to the MMC/SD device (prossibly un-necessary if