[GpsNmea] - Added GNRMC message support
authorKevron Rees <tripzero.kev@gmail.com>
Fri, 27 Mar 2015 07:05:52 +0000 (00:05 -0700)
committerKevron Rees <tripzero.kev@gmail.com>
Fri, 27 Mar 2015 07:05:52 +0000 (00:05 -0700)
plugins/gpsnmea/gpsnmea.cpp

index 8ef1462..7663e77 100644 (file)
@@ -191,7 +191,7 @@ Location::Location(AmbPluginImpl* source,
 
 void Location::parse(string nmea)
 {
-       if(boost::algorithm::starts_with(nmea,"GPRMC"))
+       if(boost::algorithm::starts_with(nmea,"GPRMC") || boost::algorithm::starts_with(nmea,"GNRMC"))
        {
                parseGprmc(nmea);
        }