Browse Source

Merge pull request #446 from trixymoon/master

passage variables by reference
v_master
Sara Damiano 4 years ago
committed by GitHub
parent
commit
507535150d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TinyGsmGPS.tpp

+ 1
- 1
src/TinyGsmGPS.tpp View File

@ -39,7 +39,7 @@ class TinyGsmGPS {
int* second) { int* second) {
float lat = 0; float lat = 0;
float lon = 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); hour, minute, second);
} }


Loading…
Cancel
Save