From 187759226cec44ec5ac215c9156068d801faed44 Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-12PPI61\\boris.bozic" Date: Tue, 4 Jul 2017 13:55:55 +0200 Subject: [PATCH] Make DSHOT1200 visible and add PROSHOT1000 --- tabs/configuration.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tabs/configuration.js b/tabs/configuration.js index fc61e182..fec13246 100644 --- a/tabs/configuration.js +++ b/tabs/configuration.js @@ -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'); } }