소스 검색

modified the comments of block device geometry structure, to tell everyone the unit of block_size is byte.

pangweishen 11 년 전
부모
커밋
675fa48281
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/rtdef.h

+ 1 - 1
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 */
 };
 
 /**