Skip to content

Commit

Permalink
Merge pull request #2309 from iNavFlight/MrD_-Fix-negative-altitude-i…
Browse files Browse the repository at this point in the history
…n-OSD

Fix negative altitude in OSD
  • Loading branch information
MrD-RC authored Jan 18, 2025
2 parents c48fba9 + 211d636 commit 6b1fd33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabs/osd.js
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ function osdDecimalsMainBatteryPreview() {
}

function osdDecimalsAltitudePreview() {
var s = ' 114';
var s = FONT.symbol(SYM.BLANK) + '114';
if (Settings.getInputValue('osd_decimals_altitude') == 4) {
s += '3';
} if (Settings.getInputValue('osd_decimals_altitude') == 5) {
Expand Down

0 comments on commit 6b1fd33

Please sign in to comment.