1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-23 00:05:13 +03:00

Channels limits go up to 150% when extended limits are enabled

This commit is contained in:
bsongis 2014-06-11 16:59:29 +02:00
parent 621639ad0b
commit ea731eae37
4 changed files with 16 additions and 6 deletions

View file

@ -1237,6 +1237,14 @@ ModelData ModelData::removeGlobalVars()
return result;
}
int ModelData::getChannelsMax()
{
if (extendedLimits)
return IS_TARANIS(GetCurrentFirmware()->getBoard()) ? 150 : 125;
else
return 100;
}
QList<EEPROMInterface *> eepromInterfaces;
void RegisterEepromInterfaces()
{