Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More feature tip at Configuration tab #3413

Merged
merged 3 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1141,12 +1141,21 @@
"featureSONAR": {
"message": "Sonar"
},
"featureSONARTip": {
"message": "Enable Sonar rangefinder to measure distance to ground in cm"
},
"featureTELEMETRY": {
"message": "Telemetry output"
},
"featureTELEMETRYTip": {
"message": "Enable telemetry output to send to transmitter"
},
"feature3D": {
"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": {
"message": "PWM (one wire per channel)"
},
Expand All @@ -1159,6 +1168,9 @@
"featureLED_STRIP": {
"message": "Multi-color RGB LED strip support"
},
"featureLED_STRIPTip": {
"message": "Enable Multi-color RGB LED strip support, configure at LED Strip tab"
},
"featureDISPLAY": {
"message": "OLED Screen Display"
},
Expand All @@ -1168,6 +1180,9 @@
"featureOSD": {
"message": "On Screen Display"
},
"featureOSDTip": {
"message": "Enable OSD, configure at OSD tab"
},
"featureCHANNEL_FORWARDING": {
"message": "Forward aux channels to servo outputs"
},
Expand Down
10 changes: 5 additions & 5 deletions src/js/Features.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ const Features = function (config) {
{bit: 5, group: 'other', name: 'SERVO_TILT', haveTip: true, dependsOn: 'SERVOS'},
{bit: 6, group: 'other', name: 'SOFTSERIAL', haveTip: true},
{bit: 7, group: 'other', name: 'GPS', haveTip: true, dependsOn: 'GPS'},
{bit: 9, group: 'other', name: 'SONAR', dependsOn: 'RANGEFINDER'},
{bit: 10, group: 'telemetry', name: 'TELEMETRY', dependsOn: 'TELEMETRY'},
{bit: 12, group: '3D', name: '3D'},
{bit: 9, group: 'other', name: 'SONAR', haveTip: true, dependsOn: 'RANGEFINDER'},
{bit: 10, group: 'telemetry', name: 'TELEMETRY', haveTip: true, dependsOn: 'TELEMETRY'},
{bit: 12, group: '3D', name: '3D', haveTip: true},
{bit: 13, group: 'rxMode', mode: 'select', name: 'RX_PARALLEL_PWM'},
{bit: 14, group: 'rxMode', mode: 'select', name: 'RX_MSP'},
{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: 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: 21, group: 'other', name: 'TRANSPONDER', haveTip: true, dependsOn: 'TRANSPONDER'},
{bit: 22, group: 'other', name: 'AIRMODE'},
Expand Down