Преглед на файлове

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