[Companion] Servos limits are displayed in us if ppmus option selected

This commit is contained in:
bsongis
2014-08-26 16:51:55 +02:00
parent 1721fd635e
commit 1f8b3725c4
6 changed files with 102 additions and 127 deletions
@@ -665,7 +665,9 @@ int OpenTxFirmware::getCapability(const Capability capability)
case TelemetryMaxMultiplier:
return (IS_ARM(board) ? 32 : 8);
case PPMCenter:
return (IS_TARANIS(board) ? 500 : 125);
return (IS_TARANIS(board) ? 500 : (id.contains("ppmca") ? 125 : 0));
case PPMUnitMicroseconds:
return id.contains("ppmus") ? 1 : 0;
case SYMLimits:
return 1;
case OptrexDisplay: