[PXX2] R9M/R9 BIND options added

This commit is contained in:
Bertrand Songis
2019-04-24 11:13:29 +02:00
parent 2df7002b43
commit 3a99fcd826
29 changed files with 335 additions and 227 deletions
+1 -15
View File
@@ -124,6 +124,7 @@ enum PXX2RegisterSteps {
enum PXX2BindSteps {
BIND_START,
BIND_RX_NAME_SELECTED,
BIND_OPTIONS_SELECTED,
BIND_WAIT,
BIND_OK
};
@@ -270,19 +271,4 @@ class Pxx2Pulses: public PxxPulses<Pxx2Transport> {
}
};
PACK(struct PXX2Version
{
uint8_t major;
uint8_t revision:4;
uint8_t minor:4;
});
PACK(struct PXX2HardwareInformation
{
uint8_t modelID;
PXX2Version hwVersion;
PXX2Version swVersion;
uint8_t variant;
});
#endif