summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
dd28429)
The mega log format has a single packet for GPS info which holds a
maximum of 12 satellites. Bdale managed to get 14 sats in view, which
ended up crashing the ground station software, and also overflowed the
gps_tracking_data structure.
Signed-off-by: Keith Packard <keithp@keithp.com>
{
gps_log.u.gps_sat.sats[i].c_n = gps_tracking_data.sats[c].c_n_1;
i++;
{
gps_log.u.gps_sat.sats[i].c_n = gps_tracking_data.sats[c].c_n_1;
i++;
}
gps_log.u.gps_sat.channels = i;
ao_log_mega(&gps_log);
}
gps_log.u.gps_sat.channels = i;
ao_log_mega(&gps_log);