From 6309edaa57f7a9983ef59eaa13801c45c938d25c Mon Sep 17 00:00:00 2001 From: Mel W Date: Thu, 10 Jan 2019 14:18:11 +0200 Subject: [PATCH] some minor streamlining and editorial changes --- components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.h b/components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.h index 228fe3367b..0a19194163 100644 --- a/components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.h +++ b/components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.h @@ -17,7 +17,7 @@ #ifndef MBED_SD_BLOCK_DEVICE_H #define MBED_SD_BLOCK_DEVICE_H -/* If the target has no SPI support then SD Card is not supported */ +/* If the target has no SPI support, then SD Card is not supported. */ #if DEVICE_SPI #include "BlockDevice.h" @@ -78,11 +78,11 @@ public: /** Program blocks to a block device * - * @note The blocks must have been erased prior to being programmed + * @note The blocks must be erased prior to programming * * @param buffer Buffer of data to write to blocks * @param addr Address of block to begin writing to - * @param size Size to write in bytes, must be a multiple of program block size + * @param size Size to write in bytes. Must be a multiple of program block size * @return BD_ERROR_OK(0) - success * SD_BLOCK_DEVICE_ERROR_NO_DEVICE - device (SD card) is missing or not connected * SD_BLOCK_DEVICE_ERROR_CRC - crc error