Skip to content
Open
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
6 changes: 6 additions & 0 deletions locale/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3734,6 +3734,12 @@
"osd_home_position_arm_screen": {
"message": "Home Position on Arming Screen"
},
"osd_framerate_hz": {
"message": "OSD Framerate (Hz)"
},
"osd_framerate_hz_help": {
"message": "Target refresh rate for OSD elements in Hz. Each element is redrawn at approximately this rate. Values above 10 Hz provide no visible improvement for typical flight data but increase CPU load. Artificial horizon and telemetry are always updated every cycle regardless of this setting. Set to -1 for legacy behavior (one element per frame)."
},
"osd_hud_settings": {
"message": "Heads-up Display settings"
},
Expand Down
5 changes: 5 additions & 0 deletions tabs/osd.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@
<input type="checkbox" class="toggle update_preview" data-setting="osd_home_position_arm_screen" data-live="true">
<span data-i18n="osd_home_position_arm_screen"></span>
</label>
<div for="osd_framerate_hz" class="helpicon cf_tip" data-i18n_title="osd_framerate_hz_help"></div>
<label>

Check warning on line 126 in tabs/osd.html

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

A form label must be associated with a control and have accessible text.

See more on https://sonarcloud.io/project/issues?id=iNavFlight_inav-configurator&issues=AZz5ZBqvjPFWM2riAqIw&open=AZz5ZBqvjPFWM2riAqIw&pullRequest=2594
<select data-setting="osd_framerate_hz" data-live="true"></select>
<span data-i18n="osd_framerate_hz"></span>
</label>
</div>
</div>
</div>
Expand Down