Explorar o código

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

pangweishen %!s(int64=11) %!d(string=hai) anos
pai
achega
675fa48281
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 */
 };
 
 /**