diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-01 21:21:54 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-01 21:21:54 +0000 |
commit | 54e44586a06ba973a1e12365a9f292dc40a5f539 (patch) | |
tree | eca6daff7f722dd85194b0011ccb44a896a2f574 /nuttx/drivers/mmcsd | |
parent | 6bd29cb2e3c9dfedee2cbd73a324eaef76c292ae (diff) | |
download | px4-nuttx-54e44586a06ba973a1e12365a9f292dc40a5f539.tar.gz px4-nuttx-54e44586a06ba973a1e12365a9f292dc40a5f539.tar.bz2 px4-nuttx-54e44586a06ba973a1e12365a9f292dc40a5f539.zip |
Fixes for warnings from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5294 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/mmcsd')
-rw-r--r-- | nuttx/drivers/mmcsd/mmcsd_spi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/drivers/mmcsd/mmcsd_spi.c b/nuttx/drivers/mmcsd/mmcsd_spi.c index 7dbadc55f..39b570581 100644 --- a/nuttx/drivers/mmcsd/mmcsd_spi.c +++ b/nuttx/drivers/mmcsd/mmcsd_spi.c @@ -508,7 +508,7 @@ static uint32_t mmcsd_sendcmd(FAR struct mmcsd_slot_s *slot, } break; - /* The R3 response is 5 bytes long */ + /* The R3 response is 5 bytes long. The first byte is identical to R1. */ case MMCSD_CMDRESP_R3: { @@ -520,8 +520,10 @@ static uint32_t mmcsd_sendcmd(FAR struct mmcsd_slot_s *slot, fvdbg("CMD%d[%08x] R1=%02x OCR=%08x\n", cmd->cmd & 0x3f, arg, response, slot->ocr); } + break; + + /* The R7 response is 5 bytes long. The first byte is identical to R1. */ - /* The R7 response is 5 bytes long */ case MMCSD_CMDRESP_R7: default: { |