summaryrefslogtreecommitdiff
path: root/altosui/AltosState.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-02 17:41:53 -0700
committerKeith Packard <keithp@keithp.com>2011-08-02 18:03:37 -0700
commit11a2bb8e28df7ed87542f2ee726f877971f5d52a (patch)
tree96be4771790576383c143213649b3eebc10e9697 /altosui/AltosState.java
parent3cc2eed6cdafe788a8617ab45c6664077e76411e (diff)
altosui: Add idle monitor dialog
This monitors a telemetrum device in idle mode, either directly or through a teledongle, allowing the GPS status and batteries to be monitored without resorting to placing the device in pad mode. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosState.java')
-rw-r--r--altosui/AltosState.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosState.java b/altosui/AltosState.java
index 0ff2479e..d374aed8 100644
--- a/altosui/AltosState.java
+++ b/altosui/AltosState.java
@@ -130,7 +130,7 @@ public class AltosState {
time_change = 0;
}
- if (state == Altos.ao_flight_pad) {
+ if (state == Altos.ao_flight_pad || state == Altos.ao_flight_idle) {
/* Track consecutive 'good' gps reports, waiting for 10 of them */
if (data.gps != null && data.gps.locked && data.gps.nsat >= 4)