#50: fix handling of GSV messages (completely wrong sat info)

This commit is contained in:
andreas 2024-11-13 18:07:50 +01:00
parent 2c87be78db
commit a8a0df4b70
1 changed files with 1 additions and 1 deletions

View File

@ -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 ||