Ensure Forza Dash telemetry structure is packed

This commit is contained in:
XANTRONIX Development 2024-01-09 15:54:27 -05:00
parent 8a6f6b7b6b
commit de4802bf3b

View file

@ -4,6 +4,9 @@
#include <inttypes.h>
#include <hexagram/types.h>
#pragma pack(push)
#pragma pack(1)
typedef struct _hexagram_telemetry_dash_car {
int32_t id,
class,
@ -75,4 +78,6 @@ typedef struct _hexagram_telemetry_dash_packet {
hexagram_telemetry_dash_race race;
} hexagram_telemetry_dash_packet;
#pragma pack(pop)
#endif /* _HEXAGRAM_TELEMETRY_DASH_H */