feat(v12): support for HelloRadioSky V12 (#7114)
Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com> Co-authored-by: radiosky <839034809@qq.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Peter Feerick
radiosky
Claude Sonnet 5
parent
256dc98917
commit
866ee0a92e
@@ -504,7 +504,12 @@ PACK(struct ModuleData {
|
||||
uint8_t channelsStart;
|
||||
int8_t channelsCount CUST(r_channelsCount,w_channelsCount); // 0=8 channels
|
||||
uint8_t failsafeMode:4 ENUM(FailsafeModes); // only 3 bits used
|
||||
#if defined(EXTERNAL_ANTENNA)
|
||||
uint8_t subType:2 SKIP;
|
||||
int8_t antennaMode:2 ENUM(AntennaModes);
|
||||
#else
|
||||
uint8_t subType:4 SKIP;
|
||||
#endif
|
||||
|
||||
union {
|
||||
uint8_t raw[PXX2_MAX_RECEIVERS_PER_MODULE * PXX2_LEN_RX_NAME + 1];
|
||||
@@ -525,8 +530,8 @@ PACK(struct ModuleData {
|
||||
uint8_t spare1:2 SKIP;
|
||||
uint8_t receiverTelemetryOff:1; // false = receiver telem enabled
|
||||
uint8_t receiverHigherChannels:1; // false = pwm out 1-8, true 9-16
|
||||
int8_t antennaMode:2;
|
||||
uint8_t spare2 SKIP;
|
||||
uint8_t spare2:2 SKIP;
|
||||
uint8_t spare3 SKIP;
|
||||
} pxx);
|
||||
NOBACKUP(struct {
|
||||
uint8_t spare1:6 SKIP;
|
||||
|
||||
Reference in New Issue
Block a user