Permalink
Browse files

Correct NMEA GGA sentence parsing.

  • Loading branch information...
David Register
David Register committed Mar 5, 2014
1 parent b1f1630 commit 3d30b0861b8bfd018f3b8a70dadbd66c22d7ffb3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/chart1.cpp
View
@@ -7278,7 +7278,7 @@ void MyFrame::OnEvtOCPN_NMEA( OCPN_DataStreamEvent & event )
{
if( m_NMEA0183.Gga.GPSQuality > 0 )
{
- if( !wxIsNaN(m_NMEA0183.Gll.Position.Latitude.Latitude) )
+ if( !wxIsNaN(m_NMEA0183.Gga.Position.Latitude.Latitude) )
{
double llt = m_NMEA0183.Gga.Position.Latitude.Latitude;
int lat_deg_int = (int) ( llt / 100 );

0 comments on commit 3d30b08

Please sign in to comment.