mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-01-11 03:00:17 +01:00
Ensure GSV messages are handled regardless of GN support
This commit is contained in:
parent
cb5249db73
commit
0fd8349d98
|
|
@ -83,8 +83,8 @@ namespace NmeaParser.Gnss
|
|||
properties.Add(nameof(AllMessages));
|
||||
if (message.TalkerId == NmeaParser.Talker.GlobalNavigationSatelliteSystem)
|
||||
m_supportGNMessages = true; // Support for GN* messages detected
|
||||
else if (m_supportGNMessages && message.TalkerId != NmeaParser.Talker.GlobalNavigationSatelliteSystem)
|
||||
return; // If device supports combined GN* messages, ignore non-GN messages
|
||||
else if (m_supportGNMessages && message.TalkerId != NmeaParser.Talker.GlobalNavigationSatelliteSystem && !(message is Gsv))
|
||||
return; // If device supports combined GN* messages, ignore non-GN messages, except for Gsv
|
||||
|
||||
if (message is NmeaParser.Messages.Garmin.Pgrme rme)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue