altoslib, altosui: Restructured state management now does TM eeprom files
[fw/altos] / altosui / AltosCompanionInfo.java
index ebe1d1f9826612cf004d23d224010da50d515aef..1ed2c425b4196acc6b5e9aaec53c10f7e18d6c26 100644 (file)
@@ -86,8 +86,8 @@ public class AltosCompanionInfo extends JTable {
        public void show(AltosState state, AltosListenerState listener_state) {
                if (state == null)
                        return;
-               if (state.data.companion != null)
-                       companion = state.data.companion;
+               if (state.companion != null)
+                       companion = state.companion;
                info_reset();
                info_add_row(0, "Companion board", "%s", board_name());
                if (companion != null) {