From 97fb4d77dcc08056e6ba356f19e7f0f5936a6aa9 Mon Sep 17 00:00:00 2001 From: Hilmar Strauch <56518493+HilmarSt@users.noreply.github.com> Date: Mon, 17 Jan 2022 16:46:41 +0100 Subject: [PATCH] debug mode --- apps/gpsinfo/gps-info.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/gpsinfo/gps-info.js b/apps/gpsinfo/gps-info.js index d26e1575c..1ee3cd6cc 100644 --- a/apps/gpsinfo/gps-info.js +++ b/apps/gpsinfo/gps-info.js @@ -17,7 +17,7 @@ var lastFix = { satellites: 0 }; var SATinView = 0, lastSATinView = -1, nofGP = 0, nofBD = 0, nofGL = 0; -const leaveNofixLayout = 1; // 0 = stay on initial screen for debugging (default = 1) +const leaveNofixLayout = 0; // 0 = stay on initial screen for debugging (default = 1) var listenerGPSraw = 0; function formatTime(now) { @@ -119,7 +119,7 @@ function onGPS(fix) { lastSATinView = SATinView; layout.clear(layout.progress); layout.progress.label = "in view GP/BD/GL: " + nofGP + " " + nofBD + " " + nofGL; - // console.log("in view GP/BD/GL: " + nofGP + " " + nofBD + " " + nofGL); + console.log("in view GP/BD/GL: " + nofGP + " " + nofBD + " " + nofGL); layout.render(layout.progress); } }