From abd8313a6c1a9fad2b140535c29d6620992776a0 Mon Sep 17 00:00:00 2001 From: Martin Boonk Date: Mon, 20 Feb 2023 08:17:42 +0100 Subject: [PATCH] android - Use number of satellites if available --- apps/android/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/android/boot.js b/apps/android/boot.js index cdd8b2a6b..7216e7df1 100644 --- a/apps/android/boot.js +++ b/apps/android/boot.js @@ -143,7 +143,7 @@ // modify event for using it as Bangle GPS event delete event.t; - event.satellites = NaN; + if (!isFinite(event.satellites)) event.satellites = NaN; if (!isFinite(event.course)) event.course = NaN; event.fix = 1; if (event.long!==undefined) { // for earlier Gadgetbridge implementations