Implement SBUS output for external module bay. (#5225)

* Implement SBUS output for external module bay.

* Bugfixes and Companion support
This commit is contained in:
Arne Schwabe
2017-09-29 18:29:39 +02:00
committed by Bertrand Songis
parent 710e6ddc4c
commit fd782538d8
39 changed files with 367 additions and 150 deletions
+6
View File
@@ -682,6 +682,12 @@ PACK(struct ModuleData {
uint8_t sport_out:1;
uint8_t spare3;
} pxx);
NOBACKUP(struct {
uint8_t spare:6;
uint8_t noninverted:1;
uint8_t spare2:1;
int8_t refreshRate; // definition as framelength for ppm (* 5 + 225 = time in 1/10 ms)
} sbus);
};
// Helper functions to set both of the rfProto protocol at the same time