mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2025-12-06 07:12:04 +01:00
Merge pull request #30 from dotMorten/issue29
Last vehicle in GPGSV string not parsed
This commit is contained in:
commit
731a9f04c1
|
|
@ -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