From 675fa48281f6511ba0c10e443868e911747f8729 Mon Sep 17 00:00:00 2001 From: pangweishen <271372443@qq.com> Date: Tue, 4 Nov 2014 10:16:54 +0800 Subject: [PATCH] modified the comments of block device geometry structure, to tell everyone the unit of block_size is byte. --- include/rtdef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rtdef.h b/include/rtdef.h index 01ccc3fc44..55f6e6b945 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -844,7 +844,7 @@ struct rt_device_blk_geometry { rt_uint32_t sector_count; /**< count of sectors */ rt_uint32_t bytes_per_sector; /**< number of bytes per sector */ - rt_uint32_t block_size; /**< size to erase one block */ + rt_uint32_t block_size; /**< number of bytes to erase one block */ }; /**