Make DSHOT1200 visible and add PROSHOT1000

10.3.x-maintenance
U-DESKTOP-12PPI61\boris.bozic 2017-07-04 13:55:55 +02:00
parent e4a1492dd1
commit 187759226c
1 changed files with 3 additions and 4 deletions

View File

@ -225,10 +225,9 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
escprotocols.push('DSHOT150');
escprotocols.push('DSHOT300');
escprotocols.push('DSHOT600');
if (semver.gte(CONFIG.apiVersion, "1.26.0")) {
if (PID_ADVANCED_CONFIG.fast_pwm_protocol === 8) {
escprotocols.push('DSHOT1200');
}
escprotocols.push('DSHOT1200');
if (semver.gte(CONFIG.apiVersion, "1.36.0")) {
escprotocols.push('PROSHOT1000');
}
}