Internal packet structs don't need to be packed, only the wired structs
This commit is contained in:
@@ -65,7 +65,7 @@ typedef struct {
|
|||||||
uint32_t asDwords[PM3_CMD_DATA_SIZE / 4];
|
uint32_t asDwords[PM3_CMD_DATA_SIZE / 4];
|
||||||
} data;
|
} data;
|
||||||
bool ng; // does it store NG data or OLD data?
|
bool ng; // does it store NG data or OLD data?
|
||||||
} PACKED PacketCommandNG;
|
} PacketCommandNG;
|
||||||
|
|
||||||
// For reception and CRC check
|
// For reception and CRC check
|
||||||
typedef struct {
|
typedef struct {
|
||||||
@@ -111,7 +111,7 @@ typedef struct {
|
|||||||
uint32_t asDwords[PM3_CMD_DATA_SIZE / 4];
|
uint32_t asDwords[PM3_CMD_DATA_SIZE / 4];
|
||||||
} data;
|
} data;
|
||||||
bool ng; // does it store NG data or OLD data?
|
bool ng; // does it store NG data or OLD data?
|
||||||
} PACKED PacketResponseNG;
|
} PacketResponseNG;
|
||||||
|
|
||||||
// For reception and CRC check
|
// For reception and CRC check
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user