mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Merge pull request #8535 from opentx/3djc/fix-ghost-chancount
Set correct channel count for Ghost modules
This commit is contained in:
commit
d6e48b82ec
1 changed files with 2 additions and 0 deletions
|
@ -373,6 +373,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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue