diff options
| author | pangweishen <[email protected]> | 2014-11-04 10:16:54 +0800 |
|---|---|---|
| committer | pangweishen <[email protected]> | 2014-11-04 10:16:54 +0800 |
| commit | 675fa48281f6511ba0c10e443868e911747f8729 (patch) | |
| tree | 04f4f824f3ef74efe65150c84b5687d73713b5e9 /include/rtdef.h | |
| parent | 086b87f23f716e4d7442545a4ff5c13f0ae05a27 (diff) | |
modified the comments of block device geometry structure, to tell everyone the unit of block_size is byte.
Diffstat (limited to 'include/rtdef.h')
| -rw-r--r-- | include/rtdef.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ }; /** |
