From 2f73226dbe6be2e22ea027ed9d0234fc0992a23a Mon Sep 17 00:00:00 2001 From: Krassi Atanassov Date: Sun, 20 Feb 2022 11:45:41 +0000 Subject: [PATCH] fixed return parameter --- helium-mapper/decoder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helium-mapper/decoder.js b/helium-mapper/decoder.js index 1f6cbfa..5d432f8 100644 --- a/helium-mapper/decoder.js +++ b/helium-mapper/decoder.js @@ -25,6 +25,6 @@ function Decoder(bytes, port) { latitude : Bytes2Float32(latitude), longitude : Bytes2Float32(longitude), altitude : Math.round(Bytes2Float32(altitude)), - accuracy : Bytes2Float32(altitude), + accuracy : Bytes2Float32(accuracy), }; -} \ No newline at end of file +}