Fix SBUS sent channels (#7086)

Thix fixes #7085
This commit is contained in:
3djc
2019-11-18 15:33:35 +01:00
committed by Bertrand Songis
parent a99fec0dbd
commit 5bde7ea6cc
+2
View File
@@ -314,6 +314,8 @@ inline int8_t sentModuleChannels(uint8_t idx)
return CROSSFIRE_CHANNELS_COUNT;
else if (isModuleMultimodule(idx) && !isModuleMultimoduleDSM2(idx))
return 16;
else if (isModuleSBUS(idx))
return 16;
else
return 8 + g_model.moduleData[idx].channelsCount;
}