mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-18 08:13:07 +01:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -782,7 +782,10 @@ private:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int fixMode=atoi(msg.Field(1));
|
int fixMode=atoi(msg.Field(1));
|
||||||
|
if (fixMode != 2 && fixMode != 3){
|
||||||
|
LOG_DEBUG(GwLog::DEBUG,"no fix in GSA, mode=%d",fixMode);
|
||||||
|
return;
|
||||||
|
}
|
||||||
tN2kMsg n2kMsg;
|
tN2kMsg n2kMsg;
|
||||||
tN2kGNSSDOPmode mode=N2kGNSSdm_Unavailable;
|
tN2kGNSSDOPmode mode=N2kGNSSdm_Unavailable;
|
||||||
if (fixMode >= 0 && fixMode <=3) mode=(tN2kGNSSDOPmode)fixMode;
|
if (fixMode >= 0 && fixMode <=3) mode=(tN2kGNSSDOPmode)fixMode;
|
||||||
|
|||||||
Reference in New Issue
Block a user