diff --git a/src/TinyGsmGPS.tpp b/src/TinyGsmGPS.tpp index 73af243..4c333cc 100644 --- a/src/TinyGsmGPS.tpp +++ b/src/TinyGsmGPS.tpp @@ -39,7 +39,7 @@ class TinyGsmGPS { int* second) { float lat = 0; float lon = 0; - return thisModem().getGPSImpl(lat, lon, 0, 0, 0, 0, 0, year, month, day, + return thisModem().getGPSImpl(&lat, &lon, 0, 0, 0, 0, 0, year, month, day, hour, minute, second); }