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

Enable set binding mode as a firmware option for frsky radios (#4743)

* Enable set binding mode as a firmware option for frsky radios

* Improvements based on Bertrand's comments

* Last feedbacks
This commit is contained in:
3djc 2017-04-06 22:36:10 +02:00 committed by Bertrand Songis
parent 8794f45816
commit 3a8f9adb4d
24 changed files with 248 additions and 6 deletions

View file

@ -676,7 +676,9 @@ PACK(struct ModuleData {
int8_t optionValue;
} multi);
NOBACKUP(struct {
uint8_t spare:6;
uint8_t spare:4;
uint8_t receiver_telem_off:1; // false = receiver telem enabled
uint8_t receiver_channel_9_16:1; // false = pwm out 1-8, true 9-16
uint8_t external_antenna:1; // false = internal antenna, true = external antenna
uint8_t spare2:1;
uint8_t spare3;
@ -1086,7 +1088,7 @@ static inline void check_struct()
CHKSIZE(RadioData, 850);
CHKSIZE(ModelData, 6025);
#elif defined(PCBTARANIS)
CHKSIZE(MixData, 22);
CHKSIZE(ExpoData, 19);