A couple of minor fixes, the first to not force the log format so that
TM/Tm data will be downloaded correctly and the second to expand the
set of files to include '.mega' files when plotting data.
Signed-off-by: Keith Packard <keithp@keithp.com>
frame = in_frame;
setDialogTitle("Select Flight Record File");
setFileFilter(new FileNameExtensionFilter("Flight data file",
- "telem", "eeprom"));
+ "telem", "eeprom", "mega"));
setCurrentDirectory(AltosUIPreferences.logdir());
}
}
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;