From 7c0928fa71464f38fb7274517a788c3b09fc352e Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Thu, 20 Feb 2020 14:53:27 -0500 Subject: [PATCH] Fix GsmLocationTime Signed-off-by: Sara Damiano --- src/TinyGsmGSMLocation.tpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/TinyGsmGSMLocation.tpp b/src/TinyGsmGSMLocation.tpp index 6c9a2e6..876cb23 100644 --- a/src/TinyGsmGSMLocation.tpp +++ b/src/TinyGsmGSMLocation.tpp @@ -38,8 +38,9 @@ class TinyGsmGSMLocation { int* minute, int* second) { float lat = 0; float lon = 0; - return thisModem().getGsmLocation(lat, lon, 0, year, month, day, hour, - minute, second); + float accuracy = 0; + return thisModem().getGsmLocation(&lat, &lon, &accuracy, year, month, day, + hour, minute, second); } /*