X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=altosui%2FAltosEepromDownload.java;h=dc61724d61f1323882493c3e49f163361b303bf5;hb=17e0ccccc8619f96d2cf56bd98d63a7e59f5301d;hp=53d5433f0146e45aa19756f4ae13b1a5ebe2526f;hpb=013cba5ed1fde72240a68ec648bd14977f5e48a4;p=fw%2Faltos diff --git a/altosui/AltosEepromDownload.java b/altosui/AltosEepromDownload.java index 53d5433f..dc61724d 100644 --- a/altosui/AltosEepromDownload.java +++ b/altosui/AltosEepromDownload.java @@ -289,7 +289,8 @@ public class AltosEepromDownload implements Runnable { if (r.cmd == Altos.AO_LOG_STATE && r.data16(0) == Altos.ao_flight_landed) done = true; - any_valid = true; + if (r.cmd != AltosLib.AO_LOG_INVALID) + any_valid = true; LogMega(r); } catch (ParseException pe) { if (parse_exception == null)