altosui: Adapt to AltosFlightSeries for data analysis
[fw/altos] / altosui / AltosFlightUI.java
index 63f8c670762794c174946dc27f834dfb151f6906..3d33b6e55ca98bd90f47ce4b19af0a2c156f9b43 100644 (file)
@@ -3,7 +3,8 @@
  *
  * 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
@@ -100,7 +101,7 @@ public class AltosFlightUI extends AltosUIFrame implements AltosFlightDisplay {
                status_update.saved_listener_state = listener_state;
 
                if (state == null)
-                       state = new AltosState();
+                       state = new AltosState(new AltosCalData());
 
                if (state.state() != Altos.ao_flight_startup) {
                        if (!has_state) {