From 35751aae3b1d1510afc536f9f81413008e5b4f9c Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Fri, 3 Nov 2023 18:32:10 +0100 Subject: [PATCH] sixths: Fix altitude display. --- apps/sixths/sixths.app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sixths/sixths.app.js b/apps/sixths/sixths.app.js index ddb41ab0e..2749a02c0 100644 --- a/apps/sixths/sixths.app.js +++ b/apps/sixths/sixths.app.js @@ -534,7 +534,7 @@ function draw() { if (getTime() - last_active > 15*60) { alt_adjust = cur_altitude - rest_altitude; alt_adjust_mode = "h"; - msg = "H)" + fmtAlt(alt_adjust.toFixed(0)); + msg = "H)" + fmtAlt(alt_adjust); } else { msg = alt_adjust_mode+")"+fmtAlt(cur_altitude - alt_adjust); }