projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9748d26
)
altoslib: Don't record 'pad' state in FlightSeries
author
Keith Packard
<keithp@keithp.com>
Sun, 28 May 2017 22:51:56 +0000
(15:51 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sun, 28 May 2017 22:51:56 +0000
(15:51 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosFlightSeries.java
patch
|
blob
|
history
diff --git
a/altoslib/AltosFlightSeries.java
b/altoslib/AltosFlightSeries.java
index 4072307b2c7fe823c6e5fe75d0729d39cf49f900..88529e2a908abb3e9054c6a468b1db112c7e38c9 100644
(file)
--- a/
altoslib/AltosFlightSeries.java
+++ b/
altoslib/AltosFlightSeries.java
@@
-143,6
+143,10
@@
public class AltosFlightSeries extends AltosDataListener {
public static final String state_name = "State";
public void set_state(int state) {
+
+ if (state == AltosLib.ao_flight_pad)
+ return;
+
if (state_series == null)
state_series = add_series(state_name, AltosConvert.state_name);
else if (this.state == state)