Extended Commands: Fix struct packing
parent
8d495aa916
commit
c398afc4e3
|
|
@ -16,7 +16,7 @@ public:
|
||||||
const ExtendedCommand command;
|
const ExtendedCommand command;
|
||||||
const ExtendedResponse response;
|
const ExtendedResponse response;
|
||||||
|
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 2)
|
||||||
struct ResponseHeader {
|
struct ResponseHeader {
|
||||||
ExtendedCommand command;
|
ExtendedCommand command;
|
||||||
uint16_t length;
|
uint16_t length;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue