File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
components/storage/blockdevice/COMPONENT_SD Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 17
17
#ifndef MBED_SD_BLOCK_DEVICE_H
18
18
#define MBED_SD_BLOCK_DEVICE_H
19
19
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. */
21
21
#if DEVICE_SPI
22
22
23
23
#include " BlockDevice.h"
@@ -78,11 +78,11 @@ class SDBlockDevice : public mbed::BlockDevice {
78
78
79
79
/* * Program blocks to a block device
80
80
*
81
- * @note The blocks must have been erased prior to being programmed
81
+ * @note The blocks must be erased prior to programming
82
82
*
83
83
* @param buffer Buffer of data to write to blocks
84
84
* @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
86
86
* @return BD_ERROR_OK(0) - success
87
87
* SD_BLOCK_DEVICE_ERROR_NO_DEVICE - device (SD card) is missing or not connected
88
88
* SD_BLOCK_DEVICE_ERROR_CRC - crc error
You can’t perform that action at this time.
0 commit comments