feat: iFlight Commando 14 support (#7494)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
Peter Feerick
parent
44b98d5bfd
commit
640fc189e7
@@ -508,6 +508,9 @@ bool ModuleData::isProtocolAvailable(int moduleidx, unsigned int protocol, Gener
|
||||
const int moduleSize = g.currentProfile().externalModuleSize();
|
||||
const int moduleType = getTypeFromProtocol(protocol);
|
||||
|
||||
if (IS_IFLIGHT_C14(getCurrentBoard()))
|
||||
return moduleType == MODULE_TYPE_CROSSFIRE || moduleType == MODULE_TYPE_GHOST;
|
||||
|
||||
switch(moduleSize) {
|
||||
case Board::EXTMODSIZE_NONE:
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user