add packing attributes to another fat struct
This commit is contained in:
parent
2b83987056
commit
7500bd0611
|
@ -66,19 +66,19 @@ typedef struct
|
||||||
#include "PACKED.h"
|
#include "PACKED.h"
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
u8 name[NAME_LEN];
|
u8 name[NAME_LEN] __PACKED;
|
||||||
u8 ext[EXT_LEN];
|
u8 ext[EXT_LEN] __PACKED;
|
||||||
u8 attrib;
|
u8 attrib __PACKED;
|
||||||
u8 reserved;
|
u8 reserved __PACKED;
|
||||||
u8 cTime_ms;
|
u8 cTime_ms __PACKED;
|
||||||
u16 cTime;
|
u16 cTime __PACKED;
|
||||||
u16 cDate;
|
u16 cDate __PACKED;
|
||||||
u16 aDate;
|
u16 aDate __PACKED;
|
||||||
u16 startClusterHigh;
|
u16 startClusterHigh __PACKED;
|
||||||
u16 mTime;
|
u16 mTime __PACKED;
|
||||||
u16 mDate;
|
u16 mDate __PACKED;
|
||||||
u16 startCluster;
|
u16 startCluster __PACKED;
|
||||||
u32 fileSize;
|
u32 fileSize __PACKED;
|
||||||
} __PACKED DIR_ENT;
|
} __PACKED DIR_ENT;
|
||||||
#include "PACKED_END.h"
|
#include "PACKED_END.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue