New protocol and telemetry: FlySky AFHDS2A (#3948)

* New protocol for multimode FlySky AFHDS2A

* Also add AFHDS2A protocol to companion

* fix compile error
This commit is contained in:
Arne Schwabe
2016-10-25 22:51:34 +02:00
committed by Bertrand Songis
parent d218b33609
commit 92dde79dec
23 changed files with 179 additions and 71 deletions
+2 -1
View File
@@ -1859,7 +1859,6 @@ SimulatorInterface *GetCurrentFirmwareSimulator()
unsigned int getNumSubtypes(MultiModuleRFProtocols type) {
switch (type) {
case MM_RF_PROTO_HISKY:
case MM_RF_PROTO_DSM2:
case MM_RF_PROTO_SYMAX:
case MM_RF_PROTO_KN:
return 2;
@@ -1870,6 +1869,8 @@ unsigned int getNumSubtypes(MultiModuleRFProtocols type) {
case MM_RF_PROTO_FRSKY:
case MM_RF_PROTO_FLYSKY:
case MM_RF_PROTO_DSM2:
case MM_RF_PROTO_AFHDS2A:
return 4;
case MM_RF_PROTO_MJXQ: