summaryrefslogtreecommitdiff
path: root/altoslib/AltosIdleFetch.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-02-06 21:50:47 -0800
committerKeith Packard <keithp@keithp.com>2015-02-06 21:50:47 -0800
commit31fd32cd75f4f22458f0dc82823934672e16b988 (patch)
treee6e3da79d8e4821351d66c688bdf741248147016 /altoslib/AltosIdleFetch.java
parent449c6731b1977c7623dd006ec2db56f383f8d85a (diff)
altoslib: Use 'stateless' for Monitor Idle
This reflects the lack of flight state progression during Monitor Idle and ensures that the GPS 'ready' indicator will light after 10 solid GPS fixes. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosIdleFetch.java')
-rw-r--r--altoslib/AltosIdleFetch.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altoslib/AltosIdleFetch.java b/altoslib/AltosIdleFetch.java
index 8958d80c..ce837fed 100644
--- a/altoslib/AltosIdleFetch.java
+++ b/altoslib/AltosIdleFetch.java
@@ -141,7 +141,7 @@ public class AltosIdleFetch implements AltosStateUpdate {
try {
/* Fetch config data from remote */
AltosConfigData config_data = new AltosConfigData(link);
- state.set_state(AltosLib.ao_flight_startup);
+ state.set_state(AltosLib.ao_flight_stateless);
state.set_serial(config_data.serial);
state.set_callsign(config_data.callsign);
state.set_ground_accel(config_data.accel_cal_plus);