More feature tip at Configuration tab (#3413)

* More feature tip

* haveTip ajusted in feature.js

* Review resolved
master
HThuren 2023-04-12 16:35:45 +02:00 committed by GitHub
parent b04c891a25
commit 1406dc07b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 5 deletions

View File

@ -1141,12 +1141,21 @@
"featureSONAR": { "featureSONAR": {
"message": "Sonar" "message": "Sonar"
}, },
"featureSONARTip": {
"message": "Enable Sonar rangefinder to measure distance to ground in cm"
},
"featureTELEMETRY": { "featureTELEMETRY": {
"message": "Telemetry output" "message": "Telemetry output"
}, },
"featureTELEMETRYTip": {
"message": "Enable telemetry output to send to transmitter"
},
"feature3D": { "feature3D": {
"message": "3D mode (for use with reversible ESCs)" "message": "3D mode (for use with reversible ESCs)"
}, },
"feature3DTip": {
"message": "Enable 3D mode for use with reversible ESCs, configure at Motors tab"
},
"featureRX_PARALLEL_PWM": { "featureRX_PARALLEL_PWM": {
"message": "PWM (one wire per channel)" "message": "PWM (one wire per channel)"
}, },
@ -1159,6 +1168,9 @@
"featureLED_STRIP": { "featureLED_STRIP": {
"message": "Multi-color RGB LED strip support" "message": "Multi-color RGB LED strip support"
}, },
"featureLED_STRIPTip": {
"message": "Enable Multi-color RGB LED strip support, configure at LED Strip tab"
},
"featureDISPLAY": { "featureDISPLAY": {
"message": "OLED Screen Display" "message": "OLED Screen Display"
}, },
@ -1168,6 +1180,9 @@
"featureOSD": { "featureOSD": {
"message": "On Screen Display" "message": "On Screen Display"
}, },
"featureOSDTip": {
"message": "Enable OSD, configure at OSD tab"
},
"featureCHANNEL_FORWARDING": { "featureCHANNEL_FORWARDING": {
"message": "Forward aux channels to servo outputs" "message": "Forward aux channels to servo outputs"
}, },

View File

@ -14,15 +14,15 @@ const Features = function (config) {
{bit: 5, group: 'other', name: 'SERVO_TILT', haveTip: true, dependsOn: 'SERVOS'}, {bit: 5, group: 'other', name: 'SERVO_TILT', haveTip: true, dependsOn: 'SERVOS'},
{bit: 6, group: 'other', name: 'SOFTSERIAL', haveTip: true}, {bit: 6, group: 'other', name: 'SOFTSERIAL', haveTip: true},
{bit: 7, group: 'other', name: 'GPS', haveTip: true, dependsOn: 'GPS'}, {bit: 7, group: 'other', name: 'GPS', haveTip: true, dependsOn: 'GPS'},
{bit: 9, group: 'other', name: 'SONAR', dependsOn: 'RANGEFINDER'}, {bit: 9, group: 'other', name: 'SONAR', haveTip: true, dependsOn: 'RANGEFINDER'},
{bit: 10, group: 'telemetry', name: 'TELEMETRY', dependsOn: 'TELEMETRY'}, {bit: 10, group: 'telemetry', name: 'TELEMETRY', haveTip: true, dependsOn: 'TELEMETRY'},
{bit: 12, group: '3D', name: '3D'}, {bit: 12, group: '3D', name: '3D', haveTip: true},
{bit: 13, group: 'rxMode', mode: 'select', name: 'RX_PARALLEL_PWM'}, {bit: 13, group: 'rxMode', mode: 'select', name: 'RX_PARALLEL_PWM'},
{bit: 14, group: 'rxMode', mode: 'select', name: 'RX_MSP'}, {bit: 14, group: 'rxMode', mode: 'select', name: 'RX_MSP'},
{bit: 15, group: 'rssi', name: 'RSSI_ADC'}, {bit: 15, group: 'rssi', name: 'RSSI_ADC'},
{bit: 16, group: 'other', name: 'LED_STRIP', dependsOn: 'LED_STRIP'}, {bit: 16, group: 'other', name: 'LED_STRIP', haveTip: true, dependsOn: 'LED_STRIP'},
{bit: 17, group: 'other', name: 'DISPLAY', haveTip: true, dependsOn: 'DASHBOARD'}, {bit: 17, group: 'other', name: 'DISPLAY', haveTip: true, dependsOn: 'DASHBOARD'},
{bit: 18, group: 'other', name: 'OSD', dependsOn: 'OSD'}, {bit: 18, group: 'other', name: 'OSD', haveTip: true, dependsOn: 'OSD'},
{bit: 20, group: 'other', name: 'CHANNEL_FORWARDING', dependsOn: 'SERVOS'}, {bit: 20, group: 'other', name: 'CHANNEL_FORWARDING', dependsOn: 'SERVOS'},
{bit: 21, group: 'other', name: 'TRANSPONDER', haveTip: true, dependsOn: 'TRANSPONDER'}, {bit: 21, group: 'other', name: 'TRANSPONDER', haveTip: true, dependsOn: 'TRANSPONDER'},
{bit: 22, group: 'other', name: 'AIRMODE'}, {bit: 22, group: 'other', name: 'AIRMODE'},