When the GPS signal strength data was added, the structure was
accidentally extended to 9 bytes, making all log records 9 bytes
long. While not a serious problem, this left log records spanning
across eeprom block boundaries, which seems like a bad plan.
Signed-off-by: Keith Packard <keithp@keithp.com>
uint16_t svid;
uint8_t state;
uint8_t c_n;
- uint8_t unused;
} gps_sat;
struct {
uint16_t d0;
(gps_log.u.gps_sat.state = gps_tracking_data.sats[c].state))
{
gps_log.u.gps_sat.c_n = gps_tracking_data.sats[c].c_n_1;
- gps_log.u.gps_sat.unused = 0;
ao_log_data(&gps_log);
}
}