diff --git a/platformio.ini b/platformio.ini index a1047a8a..c9504849 100644 --- a/platformio.ini +++ b/platformio.ini @@ -16,7 +16,7 @@ default_envs = ICENAV_BOARD platform = espressif32 framework = arduino version = 0.1.8_Alpha -revision = 78 +revision = 79 monitor_speed = 115200 ;monitor_rts = 0 ;monitor_dtr = 0 diff --git a/src/main.cpp b/src/main.cpp index b6075103..375d0315 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -126,10 +126,13 @@ void setup() } else { + // Get init Latitude and Longitude + gpsData.latitude = getLat(); + gpsData.longitude = getLon(); tileSize = RENDER_TILE_SIZE; generateRenderMap(); } - + splashScreen(); initGpsTask();