diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index e501aa6f..e728b47c 100644
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -1004,13 +1004,13 @@
},
"receiverHelpYawDeadband": {
"message": "These are values (in us) by how much RC input can be different before it's considered valid. For transmitters with jitter on outputs, this value can be increased if rc inputs twitch while idle. This setting is for Yaw only."
- },
+ },
"recevier3dDeadbandThrottle": {
"message": "3D Throttle Deadband"
},
"receiverHelp3dDeadbandThrottle": {
"message": "These are values (in us). To widen the neutral zone increased the value. This setting is for 3D throttle only."
- },
+ },
"receiverChannelMap": {
"message": "Channel Map"
},
@@ -1370,7 +1370,7 @@
"message": "CLI reboot detected"
},
"cliSaveToFileBtn": {
- "message": "Save to File"
+ "message": "Save to File"
},
"loggingNote": {
"message": "Data will be logged in this tab only, leaving the tab will cancel logging and application will return to its normal \"configurator\" state.
You are free to select the global update period, data will be written into the log file every 1 second for performance reasons."
@@ -1651,6 +1651,42 @@
"ledStripEepromSaved": {
"message": "EEPROM saved"
},
+ "ledStripVtxOverlay": {
+ "message": "VTX (uses vtx frequency to assign color)"
+ },
+ "ledStripFunctionSection": {
+ "message": "LED Functions"
+ },
+ "ledStripFunctionTitle": {
+ "message": "Function"
+ },
+ "ledStripColorModifierTitle": {
+ "message": "Color modifier"
+ },
+ "ledStripThrottleFunction": {
+ "message": "Throttle"
+ },
+ "ledStripVtxFunction": {
+ "message": "Larson scanner"
+ },
+ "ledStripBlinkTitle": {
+ "message": "Blink"
+ },
+ "ledStripBlinkAlwaysOverlay": {
+ "message": "Blink always"
+ },
+ "ledStripBlinkLandingOverlay": {
+ "message": "Blink on landing"
+ },
+ "ledStripOverlayTitle": {
+ "message": "Overlay"
+ },
+ "ledStripWarningsOverlay": {
+ "message": "Warnings"
+ },
+ "ledStripIndecatorOverlay": {
+ "message": "Indicator (uses position on matrix)"
+ },
"controlAxisRoll": {
"message": "Roll"
@@ -1896,7 +1932,7 @@
"failsafeKillSwitchHelp": {
"message": "Set this option to make the failsafe switch (Modes Tab) act as a direct kill switch, bypassing the selected failsafe procedure. Note: Arming is blocked with the failsafe kill switch in the ON position"
},
-
+
"powerButtonSave": {
"message": "Save"
},
@@ -1926,7 +1962,7 @@
},
"powerAmperageValue": {
"message": "$1 A"
- },
+ },
"powerVoltageId10": {
"message": "Battery"
},
@@ -1996,7 +2032,7 @@
"powerVoltageId85": {
"message": "Cell 6"
},
-
+
"powerVoltageScale": {
"message": "Scale"
@@ -2059,14 +2095,14 @@
"powerMahValue": {
"message": "$1 mAh"
},
-
+
"powerAmperageScale": {
"message": "Scale the output voltage to milliamps [1/10th mV/A]"
},
"powerAmperageOffset": {
"message": "Offset in millivolt steps"
},
-
+
"powerBatteryHead": {
"message": "Battery"
},
@@ -2091,7 +2127,7 @@
"powerBatteryCapacity": {
"message": "Capacity (mAh)"
},
-
+
"osdSetupHead": {
"message": "Info"
},
@@ -2107,14 +2143,14 @@
"osdSetupCameraConnectedValueNo": {
"message": "No"
},
-
+
"osdSetupResetText": {
"message": "Reset OSD to default"
},
"osdSetupButtonReset": {
"message": "Reset Settings"
},
-
+
"mainHelpArmed": {
"message": "Motor Arming"
diff --git a/js/msp/MSPHelper.js b/js/msp/MSPHelper.js
index 240a002e..03132301 100644
--- a/js/msp/MSPHelper.js
+++ b/js/msp/MSPHelper.js
@@ -825,7 +825,11 @@ MspHelper.prototype.process_data = function(dataHandler) {
var ledDirectionLetters = ['n', 'e', 's', 'w', 'u', 'd']; // in LSB bit order
var ledFunctionLetters = ['i', 'w', 'f', 'a', 't', 'r', 'c', 'g', 's', 'b', 'l']; // in LSB bit order
var ledBaseFunctionLetters = ['c', 'f', 'a', 'l', 's', 'g', 'r']; // in LSB bit
- var ledOverlayLetters = ['t', 'o', 'b', 'v', 'i', 'w']; // in LSB bit
+ if (semver.lt(CONFIG.apiVersion, "1.36.0")) {
+ var ledOverlayLetters = ['t', 'o', 'b', 'w', 'i', 'w']; // in LSB bit
+ } else {
+ var ledOverlayLetters = ['t', 'o', 'b', 'v', 'i', 'w']; // in LSB bit
+ }
var ledCount = data.byteLength / 7; // v1.4.0 and below incorrectly reported 4 bytes per led.
@@ -1658,7 +1662,11 @@ MspHelper.prototype.sendLedStripConfig = function(onCompleteCallback) {
var ledDirectionLetters = ['n', 'e', 's', 'w', 'u', 'd']; // in LSB bit order
var ledFunctionLetters = ['i', 'w', 'f', 'a', 't', 'r', 'c', 'g', 's', 'b', 'l']; // in LSB bit order
var ledBaseFunctionLetters = ['c', 'f', 'a', 'l', 's', 'g', 'r']; // in LSB bit
- var ledOverlayLetters = ['t', 'o', 'b', 'v', 'i', 'w']; // in LSB bit
+ if (semver.lt(CONFIG.apiVersion, "1.36.0")) {
+ var ledOverlayLetters = ['t', 'o', 'b', 'w', 'i', 'w']; // in LSB bit
+ } else {
+ var ledOverlayLetters = ['t', 'o', 'b', 'v', 'i', 'w']; // in LSB bit
+ }
var buffer = [];
diff --git a/tabs/led_strip.css b/tabs/led_strip.css
index d55ee3c8..be131758 100644
--- a/tabs/led_strip.css
+++ b/tabs/led_strip.css
@@ -1,14 +1,14 @@
.tab-led-strip .content_wrapper {
position: relative !important;
}
-
+
.tab-led-strip .help {
padding: 10px;
background-color: #ffcb18;
margin-bottom: 10px;
}
-
+
.tab-led-strip .section {
color: #565656;
margin: 20px 0 5px 0;
@@ -90,6 +90,7 @@
.tab-led-strip .gPoint.function-s .overlay-s,
.tab-led-strip .gPoint.function-w .overlay-w,
+.tab-led-strip .gPoint.function-v .overlay-v,
.tab-led-strip .gPoint.function-i .overlay-i,
.tab-led-strip .gPoint.function-t .overlay-t,
.tab-led-strip .gPoint.function-o .overlay-o,
@@ -106,6 +107,12 @@
margin-left: -9px;
}
+.tab-led-strip .gPoint.function-v .overlay-v {
+ background-image: radial-gradient(1px at 8px 50% , black 0%, black 2px, rgba(0, 0, 0, 0.3) 3px, rgba(0, 0, 0, 0) 4px);
+ margin-top: -6px;
+ margin-left: 4px;
+}
+
.tab-led-strip .gPoint.function-i .overlay-i {
background-image: radial-gradient(1px at 8px 50% , yellow 0%, yellow 2px, rgba(0, 0, 0, 0.3) 3px, rgba(0, 0, 0, 0) 4px);
margin-top: -30px;
@@ -433,4 +440,4 @@
.tab-led-strip .spacebottom {
margin-bottom: 20px;
-}
\ No newline at end of file
+}
diff --git a/tabs/led_strip.html b/tabs/led_strip.html
index d9ff4edd..ce842ac5 100644
--- a/tabs/led_strip.html
+++ b/tabs/led_strip.html
@@ -54,11 +54,11 @@
-
LED Functions
+
-
Function
+