mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
Merge pull request #9309 from TonyBlit/fix_sat_list
Clear sat list to avoid showing old data
This commit is contained in:
parent
9011c4e722
commit
d99c30badf
1 changed files with 10 additions and 4 deletions
|
@ -1129,6 +1129,12 @@ static bool UBLOX_parse_gps(void)
|
|||
GPS_svinfo_quality[i] =_buffer.svinfo.channel[i].quality;
|
||||
GPS_svinfo_cno[i] = _buffer.svinfo.channel[i].cno;
|
||||
}
|
||||
for (i = GPS_numCh; i < 16; i++) {
|
||||
GPS_svinfo_chn[i] = 0;
|
||||
GPS_svinfo_svid[i] = 0;
|
||||
GPS_svinfo_quality[i] = 0;
|
||||
GPS_svinfo_cno[i] = 0;
|
||||
}
|
||||
GPS_svInfoReceivedCount++;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue