Fixes #4299 and #4298 and other Horus import/export bugs. Checked all existing IS_TARANIS() macros and tuned them to IS_HORUS_OR_TARANIS() where needed. (#4301)
This commit is contained in:
committed by
Bertrand Songis
parent
8b1078d081
commit
0f90ff0b65
@@ -1642,7 +1642,7 @@ ModelData ModelData::removeGlobalVars()
|
||||
int ModelData::getChannelsMax(bool forceExtendedLimits) const
|
||||
{
|
||||
if (forceExtendedLimits || extendedLimits)
|
||||
return IS_TARANIS(getCurrentBoard()) ? 150 : 125;
|
||||
return IS_HORUS_OR_TARANIS(getCurrentBoard()) ? 150 : 125;
|
||||
else
|
||||
return 100;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user