#39: do not send 129539 from GSA if fix mode is not 2 or 3 - also do not set xDOP
This commit is contained in:
parent
cf3e1fb0b3
commit
16a2ea32cb
|
@ -782,7 +782,10 @@ private:
|
|||
return;
|
||||
}
|
||||
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;
|
||||
tN2kGNSSDOPmode mode=N2kGNSSdm_Unavailable;
|
||||
if (fixMode >= 0 && fixMode <=3) mode=(tN2kGNSSDOPmode)fixMode;
|
||||
|
|
Loading…
Reference in New Issue