altosdroid: more updates for new AltosState
[fw/altos] / altosdroid / src / org / altusmetrum / AltosDroid / TabLanded.java
index a57ae5146088e7a7f65e7a9dd6c058b495845990..40399f2aed0df4d0fe31ad6e5fec78c0fb814d45 100644 (file)
@@ -89,8 +89,8 @@ public class TabLanded extends Fragment implements AltosDroidTab {
                }
               
                if (state != null) {
-                       mMaxHeightView.setText(String.format("%6.0f m", state.max_height));
-                       mMaxAccelView.setText(String.format("%6.0f m/s²", state.max_acceleration));
+                       mMaxHeightView.setText(String.format("%6.0f m", state.max_height()));
+                       mMaxAccelView.setText(String.format("%6.0f m/s²", state.max_acceleration()));
                        mMaxSpeedView.setText(String.format("%6.0f m/s", state.max_speed()));
                }
        }