#50: fix handling of GSV messages (completely wrong sat info)
This commit is contained in:
parent
2c87be78db
commit
a8a0df4b70
|
@ -860,7 +860,7 @@ private:
|
|||
LOG_DEBUG(GwLog::DEBUG,"GSV invalid current %u %s",current,msg.line);
|
||||
return;
|
||||
}
|
||||
for (int idx=2;idx < msg.FieldCount();idx+=4){
|
||||
for (int idx=3;idx < msg.FieldCount();idx+=4){
|
||||
if (msg.FieldLen(idx) < 1 ||
|
||||
msg.FieldLen(idx+1) < 1 ||
|
||||
msg.FieldLen(idx+2) < 1 ||
|
||||
|
|
Loading…
Reference in New Issue