projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altosui: Exit with an error status when file processing fails
[fw/altos]
/
altosui
/
AltosEepromDownload.java
diff --git
a/altosui/AltosEepromDownload.java
b/altosui/AltosEepromDownload.java
index b04890cdb35a5ebd28285cc80b565beb8511df1e..65cac7bd75f67084e0259f5c73be023f820f1974 100644
(file)
--- a/
altosui/AltosEepromDownload.java
+++ b/
altosui/AltosEepromDownload.java
@@
-134,7
+134,8
@@
public class AltosEepromDownload implements Runnable {
}
if (r.cmd == Altos.AO_LOG_STATE && r.a == Altos.ao_flight_landed)
done = true;
- any_valid = true;
+ if (r.cmd != AltosLib.AO_LOG_INVALID)
+ any_valid = true;
Log(r);
} catch (ParseException pe) {
if (parse_exception == null)