Draft support internal module NV14

This commit is contained in:
Raphael Coeffic
2021-09-19 16:17:47 +02:00
parent c389000713
commit e29138f7e3
14 changed files with 1061 additions and 179 deletions
+11 -1
View File
@@ -463,8 +463,18 @@ PACK(struct ModuleData {
#if defined(AFHDS2)
NOBACKUP(struct {
uint8_t rx_id[4];
uint8_t mode;
uint8_t mode:3;
uint8_t rfPower:1;
uint8_t reserved:4;
uint8_t rx_freq[2];
void setDefault() {
rx_id[0] = rx_id[1] = rx_id[2] = rx_id[3] = 0;
mode = 0;
rfPower = 0;
rx_freq[0] = 50;
rx_freq[1] = 0;
}
} flysky);
#endif
#if defined(AFHDS3)