Skip to content

Commit 66f5358

Browse files
author
Mel W
authored
some minor streamlining and editorial changes
1 parent a4a99d6 commit 66f5358

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#ifndef MBED_SD_BLOCK_DEVICE_H
1818
#define MBED_SD_BLOCK_DEVICE_H
1919

20-
/* If the target has no SPI support then SD Card is not supported */
20+
/* If the target has no SPI support, then SD Card is not supported. */
2121
#if DEVICE_SPI
2222

2323
#include "BlockDevice.h"
@@ -78,11 +78,11 @@ class SDBlockDevice : public mbed::BlockDevice {
7878

7979
/** Program blocks to a block device
8080
*
81-
* @note The blocks must have been erased prior to being programmed
81+
* @note The blocks must be erased prior to programming
8282
*
8383
* @param buffer Buffer of data to write to blocks
8484
* @param addr Address of block to begin writing to
85-
* @param size Size to write in bytes, must be a multiple of program block size
85+
* @param size Size to write in bytes. Must be a multiple of program block size
8686
* @return BD_ERROR_OK(0) - success
8787
* SD_BLOCK_DEVICE_ERROR_NO_DEVICE - device (SD card) is missing or not connected
8888
* SD_BLOCK_DEVICE_ERROR_CRC - crc error

0 commit comments

Comments
 (0)