From: Keith Packard Date: Sat, 7 Feb 2015 05:50:47 +0000 (-0800) Subject: altoslib: Use 'stateless' for Monitor Idle X-Git-Tag: 1.6~19 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=31fd32cd75f4f22458f0dc82823934672e16b988;hp=449c6731b1977c7623dd006ec2db56f383f8d85a 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 --- 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);