Skip to content

Commit 51168ee

Browse files
Yossi LevyYossi Levy
authored andcommitted
Merge branch 'yossi_write-a-thon2' of github.com:yossi2le/mbed-os into yossi_write-a-thon2
2 parents 73ac904 + 1066258 commit 51168ee

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

features/storage/blockdevice/MBRBlockDevice.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ class MBRBlockDevice : public BlockDevice {
5252
*
5353
* @param bd Block device to partition
5454
* @param part Partition to use, 1-4
55-
* @param type 8-bit partition type to identify partition's contents
56-
* @param start Start block address to map to block 0 of partition,
57-
* negative addresses are calculated from the end of the
55+
* @param type 8-bit partition type to identify partition contents
56+
* @param start Start block address to map to block 0 of partition.
57+
* Negative addresses are calculated from the end of the
5858
* underlying block devices. Block 0 is implicitly ignored
5959
* from the range to store the MBR.
60-
* @return 0 on success or a negative error code on failure
60+
* @return 0 on success or a negative error code on failure.
6161
* @note This is the same as partition(bd, part, type, start, bd->size())
6262
*/
6363
static int partition(BlockDevice *bd, int part, uint8_t type, bd_addr_t start);
@@ -66,15 +66,15 @@ class MBRBlockDevice : public BlockDevice {
6666
*
6767
* @param bd Block device to partition
6868
* @param part Partition to use, 1-4
69-
* @param type 8-bit partition type to identify partition's contents
69+
* @param type 8-bit partition type to identify partition contents
7070
* @param start Start block address to map to block 0 of partition,
7171
* negative addresses are calculated from the end of the
7272
* underlying block devices. Block 0 is implicitly ignored
7373
* from the range to store the MBR.
74-
* @param stop End block address to mark the end of the partition,
75-
* this block is not mapped, negative addresses are calculated
74+
* @param stop End block address to mark the end of the partition.
75+
* This block is not mapped: negative addresses are calculated
7676
* from the end of the underlying block device.
77-
* @return 0 on success or a negative error code on failure
77+
* @return 0 on success or a negative error code on failure.
7878
*/
7979
static int partition(BlockDevice *bd, int part, uint8_t type, bd_addr_t start, bd_addr_t stop);
8080

0 commit comments

Comments
 (0)