Fix some packets may fail to parse

This commit is contained in:
Tindy X
2021-07-21 02:36:14 +08:00
parent f01e7d3320
commit 44182eef62
+5
View File
@@ -1,6 +1,9 @@
#ifndef STRUCT_H_INCLUDED
#define STRUCT_H_INCLUDED
#pragma pack(push)
#pragma pack(1)
struct IPCMemoryInfo
{
uint8_t airIoStatus[6];
@@ -76,4 +79,6 @@ struct PacketPing
uint64_t remotePingTime;
};
#pragma pack(pop)
#endif // STRUCT_H_INCLUDED