Merge branch 'master' into new-state
[fw/altos] / altosui / AltosCompanionInfo.java
index 7dd36aec08ecbf2835e9a6dfd9ea874d38f02c2d..1ed2c425b4196acc6b5e9aaec53c10f7e18d6c26 100644 (file)
@@ -83,11 +83,11 @@ public class AltosCompanionInfo extends JTable {
                }
        }
        
-       public void show(AltosState state, int crc_errors) {
+       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) {