altoslib: Move computed state from AltosRecord to AltosState
[fw/altos] / altosui / AltosLanded.java
index 57c2d476989e9b5b50d1ff2701ea85d59a2d9ca1..0111a08a0df6a596e8b0d32434a15a6e7e60d715 100644 (file)
@@ -173,7 +173,7 @@ public class AltosLanded extends JComponent implements AltosFlightDisplay, Actio
 
        class Speed extends LandedValue {
                void show (AltosState state, int crc_errors) {
-                       show(AltosConvert.speed, state.max_speed);
+                       show(AltosConvert.speed, state.max_speed());
                }
                public Speed (GridBagLayout layout, int y) {
                        super (layout, y, "Maximum Speed");