Jelajahi Sumber

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

pangweishen 11 tahun lalu
induk
melakukan
675fa48281
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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 */
 };
 
 /**