File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ storage_info_t storage_info = {
5959 .free_space_in_bytes = 0 , // calculated at runtime
6060 .free_space_in_objects = 0 , // calculated at runtime
6161 .storage_description = {
62- .count = (TU_FIELD_SZIE (storage_info_t , storage_description )- 1 ) / sizeof (uint16_t ),
62+ .count = (TU_FIELD_SIZE (storage_info_t , storage_description )- 1 ) / sizeof (uint16_t ),
6363 .utf16 = STORAGE_DESCRIPTRION
6464 },
6565 .volume_identifier = {
66- .count = (TU_FIELD_SZIE (storage_info_t , volume_identifier )- 1 ) / sizeof (uint16_t ),
66+ .count = (TU_FIELD_SIZE (storage_info_t , volume_identifier )- 1 ) / sizeof (uint16_t ),
6767 .utf16 = VOLUME_IDENTIFIER
6868 }
6969};
Original file line number Diff line number Diff line change 3535// Macros Helper
3636//--------------------------------------------------------------------+
3737#define TU_ARRAY_SIZE (_arr ) ( sizeof(_arr) / sizeof(_arr[0]) )
38- #define TU_FIELD_SZIE (_type , _field ) (sizeof(((_type *)0)->_field))
38+ #define TU_FIELD_SIZE (_type , _field ) (sizeof(((_type *)0)->_field))
3939#define TU_MIN (_x , _y ) ( ( (_x) < (_y) ) ? (_x) : (_y) )
4040#define TU_MAX (_x , _y ) ( ( (_x) > (_y) ) ? (_x) : (_y) )
4141#define TU_DIV_CEIL (n , d ) (((n) + (d) - 1) / (d))
You can’t perform that action at this time.
0 commit comments