Updated generated YAML parser files

And added the "ghost" union member to the selector.
This commit is contained in:
Raphael Coeffic
2022-01-22 13:43:30 +01:00
parent 77386e6391
commit 257d25b5eb
19 changed files with 421 additions and 295 deletions
+4 -4
View File
@@ -488,10 +488,6 @@ PACK(struct ModuleData {
uint8_t spare2:1 SKIP;
int8_t refreshRate; // definition as framelength for ppm (* 5 + 225 = time in 1/10 ms)
} sbus);
NOBACKUP(struct {
uint8_t raw12bits:1;
uint8_t spare1:7;
} ghost);
NOBACKUP(struct {
uint8_t receivers:7; // 4 bits spare
uint8_t racingMode:1;
@@ -532,6 +528,10 @@ PACK(struct ModuleData {
rx_freq[1] = value >> 8;
}
} afhds3));
NOBACKUP(struct {
uint8_t raw12bits:1;
uint8_t spare1:7 SKIP;
} ghost);
} NAME(mod) FUNC(select_mod_type);
// Helper functions to set both of the rfProto protocol at the same time