Add support for R9M module (#5101)
* Implement R9M protocol according to PXX spec 1.7 Some of the things here are guesswork as I don’t have a R9M at hand. Also Companion support for the extra R9M options is not implemented yet. * Fix build errors
This commit is contained in:
committed by
Bertrand Songis
parent
87295776ff
commit
51be7b000e
@@ -674,11 +674,12 @@ PACK(struct ModuleData {
|
||||
int8_t optionValue;
|
||||
} multi);
|
||||
NOBACKUP(struct {
|
||||
uint8_t spare:4;
|
||||
uint8_t power:2; // 0 10 mW, 1 100 mW, 2 500 mW, 3 1W
|
||||
uint8_t spare:2;
|
||||
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 sport_out:1;
|
||||
uint8_t spare3;
|
||||
} pxx);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user