1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +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 minor:4;
uint8_t revision:4;
};
});
struct PXX2HardwareInformation
PACK(struct PXX2HardwareInformation
{
uint8_t modelID;
PXX2Version hwVersion;
PXX2Version swVersion;
uint8_t variant;
};
});
#endif