1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00

Stupid one ...

This commit is contained in:
Bertrand Songis 2019-04-08 10:15:39 +02:00
parent fe4dda92bc
commit 2cbf16b90a

View file

@ -261,19 +261,19 @@ class Pxx2Pulses: public PxxPulses<Pxx2Transport> {
} }
}; };
union PXX2Version PACK(struct PXX2Version
{ {
uint8_t major; uint8_t major;
uint8_t minor:4; uint8_t minor:4;
uint8_t revision:4; uint8_t revision:4;
}; });
struct PXX2HardwareInformation PACK(struct PXX2HardwareInformation
{ {
uint8_t modelID; uint8_t modelID;
PXX2Version hwVersion; PXX2Version hwVersion;
PXX2Version swVersion; PXX2Version swVersion;
uint8_t variant; uint8_t variant;
}; });
#endif #endif