sixths: Fix altitude display.

master
Pavel Machek 2023-11-03 18:32:10 +01:00
parent c03776c767
commit 35751aae3b
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ function draw() {
if (getTime() - last_active > 15*60) { if (getTime() - last_active > 15*60) {
alt_adjust = cur_altitude - rest_altitude; alt_adjust = cur_altitude - rest_altitude;
alt_adjust_mode = "h"; alt_adjust_mode = "h";
msg = "H)" + fmtAlt(alt_adjust.toFixed(0)); msg = "H)" + fmtAlt(alt_adjust);
} else { } else {
msg = alt_adjust_mode+")"+fmtAlt(cur_altitude - alt_adjust); msg = alt_adjust_mode+")"+fmtAlt(cur_altitude - alt_adjust);
} }