summaryrefslogtreecommitdiff
path: root/altosui/AltosGraphUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-04-19 14:06:39 -0700
committerKeith Packard <keithp@keithp.com>2011-04-19 14:06:39 -0700
commit44fb71ca3e5bccd5f601fc5a2d5da7292050b1d6 (patch)
treea5147a78cc37c9728aa1a2424a434c23508dca20 /altosui/AltosGraphUI.java
parent2ebdb888f6792de70b3132950a988d49752d264e (diff)
parentc269e263a6accd815ed5d08c0f5a6c3d5b9d3853 (diff)
Merge branch 'telemini' into telebt
Diffstat (limited to 'altosui/AltosGraphUI.java')
-rw-r--r--altosui/AltosGraphUI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosGraphUI.java b/altosui/AltosGraphUI.java
index e98c302b..4b994b47 100644
--- a/altosui/AltosGraphUI.java
+++ b/altosui/AltosGraphUI.java
@@ -35,7 +35,7 @@ public class AltosGraphUI extends JFrame
AltosGraphTime.Element speed =
new AltosGraphTime.TimeSeries("Speed (m/s)", "Vertical Speed", green) {
public void gotTimeData(double time, AltosDataPoint d) {
- if (d.state() < Altos.ao_flight_drogue) {
+ if (d.state() < Altos.ao_flight_drogue && d.has_accel()) {
series.add(time, d.accel_speed());
} else {
series.add(time, d.baro_speed());