done = false;
start = true;
-// if (flights.config_data.serial == 0)
-// throw new IOException("no serial number found");
+ if (flights.config_data.serial == 0)
+ throw new IOException("no serial number found");
- log_format = 5;
- System.out.printf ("log format: %d\n", log_format);
/* Reset per-capture variables */
flight = 0;
year = 0;
state = 0; state_block = log.start_block;
for (block = log.start_block; !done && block < log.end_block; block++) {
- monitor.set_value(Altos.state_to_string[state], state, block - state_block);
+ monitor.set_value(AltosLib.state_name(state), state, block - state_block);
AltosEepromChunk eechunk = new AltosEepromChunk(serial_line, block, block == log.start_block);