diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 33de7e27..b4c5cd90 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -544,10 +544,10 @@ "message": "On Screen Display" }, "featureFAILSAFE": { - "message": "Apply failsafe on RX signal loss" + "message": "Override failsafe behaviour on RX signal loss" }, "featureFAILSAFETip": { - "message": "Note: When Stage 2 is DISABLED, the fallback setting Auto is used instead of the user settings for all flightchannels (Roll, Pitch, Yaw and Throttle)." + "message": "Warning: Use this only if you know what you are doing. The default behaviour on RX signal loss (deactivate all motors to bring craft to the ground) is the safest option in most situations." }, "configurationFeatureEnabled": { "message": "Enabled" diff --git a/js/Features.js b/js/Features.js index 1ee7db07..94155d93 100644 --- a/js/Features.js +++ b/js/Features.js @@ -12,7 +12,7 @@ var Features = function (config) { {bit: 5, group: 'other', name: 'SERVO_TILT'}, {bit: 6, group: 'other', name: 'SOFTSERIAL', haveTip: true}, {bit: 7, group: 'gps', name: 'GPS', haveTip: true}, - {bit: 8, group: 'rxFailsafe', name: 'FAILSAFE', haveTip: true}, + {bit: 8, group: 'other', name: 'FAILSAFE', haveTip: true}, {bit: 9, group: 'other', name: 'SONAR'}, {bit: 10, group: 'other', name: 'TELEMETRY'}, {bit: 11, group: 'batteryCurrent', name: 'CURRENT_METER'}, diff --git a/main.js b/main.js index e1811dea..0f85ae9f 100644 --- a/main.js +++ b/main.js @@ -406,6 +406,12 @@ function updateTabList(features) { $('#tabs ul.mode-connected li.tab_gps').hide(); } + if (features.isEnabled('FAILSAFE')) { + $('#tabs ul.mode-connected li.tab_failsafe').show(); + } else { + $('#tabs ul.mode-connected li.tab_failsafe').hide(); + } + if (features.isEnabled('LED_STRIP')) { $('#tabs ul.mode-connected li.tab_led_strip').show(); } else { diff --git a/tabs/failsafe.css b/tabs/failsafe.css index 27ea6fd9..f9e59c42 100644 --- a/tabs/failsafe.css +++ b/tabs/failsafe.css @@ -252,37 +252,6 @@ height: 90px; } -.tab-failsafe .featuresNew { - width: 100%; -} - -.tab-failsafe .featuresNew tr { - width: 100%; - border-bottom: 1px solid #ddd; - float: left; - padding: 0px; - padding-bottom: 6px; - margin-bottom: 3px; -} - -.tab-failsafe .featuresNew td:first-child { - width: 52px; -} - -.tab-failsafe .featuresNew td:last-child { - width: calc(100% - 125px); - margin-right: 0px; -} - -.tab-failsafe .featuresNew td { - float: left; - margin-right: 10px; -} - -.tab-failsafe .featuresNew .helpicon { - margin-right: -2px; -} - .tab-failsafe table { width: 100%; } diff --git a/tabs/failsafe.html b/tabs/failsafe.html index 55e5a8c1..6c568664 100644 --- a/tabs/failsafe.html +++ b/tabs/failsafe.html @@ -22,11 +22,6 @@