mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-01-03 23:30:17 +01:00
Last vehicle in GPGSV string not parsed
This commit is contained in:
parent
7b7cafdbfb
commit
591c532920
|
|
@ -45,7 +45,7 @@ namespace NmeaParser.Nmea.Gps
|
|||
SVsInView = int.Parse(message[2], CultureInfo.InvariantCulture);
|
||||
|
||||
List<SatelliteVehicle> svs = new List<SatelliteVehicle>();
|
||||
for (int i = 3; i < message.Length - 4; i += 4)
|
||||
for (int i = 3; i < message.Length - 3; i += 4)
|
||||
{
|
||||
if (message[i].Length == 0)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue