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); } /*