if (r.cmd == Altos.AO_LOG_GPS_TIME) {
year = 2000 + r.data8(14);
month = r.data8(15);
- day = r.data8(14);
+ day = r.data8(16);
want_file = true;
}
done = false;
start = true;
- if (flights.config_data.serial == 0)
+ if (flights.config_data.serial < 0)
throw new IOException("no serial number found");
/* Reset per-capture variables */