Skip to content

Commit 4d3a1f8

Browse files
pennamsebromero
andauthored
Use Geolocation instead of Cellularlocation
Co-authored-by: Sebastian Romero <[email protected]>
1 parent c651122 commit 4d3a1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/GetLocation/GetLocation.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void setup(){
2828
}
2929

3030
void loop(){
31-
CellularLocation location = cellular.getGPSLocation();
31+
Geolocation location = cellular.getGPSLocation();
3232
Serial.println("GPS Location:");
3333
Serial.print("* Latitude: "); Serial.println(location.latitude, 6);
3434
Serial.print("* Longitude: "); Serial.println(location.longitude, 6);

0 commit comments

Comments
 (0)