Set correct channel count for Ghost modules

opentx/opentx#8534
This commit is contained in:
3djc
2021-06-22 17:14:30 +02:00
committed by Raphael Coeffic
parent 78279e0df5
commit 1e73101a43
+2
View File
@@ -386,6 +386,8 @@ inline int8_t defaultModuleChannels_M8(uint8_t idx)
return 4; // 12 channels
else if (isModulePXX2(idx))
return 8; // 16 channels
else if (isModuleGhost(idx))
return 4; // 12 channels
else
return maxModuleChannels_M8(idx);
}