Skip to content

Commit

Permalink
Internal packet structs don't need to be packed, only the wired structs
Browse files Browse the repository at this point in the history
  • Loading branch information
doegox committed May 13, 2019
1 parent e4f00c5 commit d05cd5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/pm3_cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ typedef struct {
uint32_t asDwords[PM3_CMD_DATA_SIZE / 4];
} data;
bool ng; // does it store NG data or OLD data?
} PACKED PacketCommandNG;
} PacketCommandNG;

// For reception and CRC check
typedef struct {
Expand Down Expand Up @@ -111,7 +111,7 @@ typedef struct {
uint32_t asDwords[PM3_CMD_DATA_SIZE / 4];
} data;
bool ng; // does it store NG data or OLD data?
} PACKED PacketResponseNG;
} PacketResponseNG;

// For reception and CRC check
typedef struct {
Expand Down

0 comments on commit d05cd5f

Please sign in to comment.