diff --git a/src/gps_utils.cpp b/src/gps_utils.cpp index 36769581..41607386 100644 --- a/src/gps_utils.cpp +++ b/src/gps_utils.cpp @@ -76,7 +76,7 @@ namespace GPS_Utils { String GPSPacket = packet.substring(packet.indexOf(":!")+3); String encodedLatitude = GPSPacket.substring(0,4); String encodedLongtitude = GPSPacket.substring(4,8); - String comment = GPSPacket.substring(13); + String comment = GPSPacket.substring(12); int Y1 = int(encodedLatitude[0]); int Y2 = int(encodedLatitude[1]);