*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
if (sscanf(line, "serial-number %u", &serial_number) == 1) {
aoview_file_set_serial(eeprom_file, serial_number);
} else if (sscanf(line, "%c %x %x %x", &cmd, &tick, &a, &b) == 4) {
+ if (cmd == 'F')
+ aoview_file_set_flight(eeprom_file, b);
aoview_file_printf(eeprom_file, "%s\n", line);
if (cmd == 'S' && a == 8) {
aoview_eeprom_done(serial);