summaryrefslogtreecommitdiff
path: root/altosui/AltosEepromDownload.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-10-18 15:18:52 -0700
committerKeith Packard <keithp@keithp.com>2012-10-18 15:18:52 -0700
commit5a55501660ebab3b858a48483c5df1cfb4e858e4 (patch)
tree9b5d8305d9c65b10f82f6839bb1b5c169681ef00 /altosui/AltosEepromDownload.java
parent0361235c9ef56738ba0e97be88a85afef0ce8268 (diff)
parent440365bd17d804c2f574c35164612cf1682397d7 (diff)
Merge branch 'master' into mm-ms5611
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosEepromDownload.java')
-rw-r--r--altosui/AltosEepromDownload.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosEepromDownload.java b/altosui/AltosEepromDownload.java
index a8cb24ff..a5e99749 100644
--- a/altosui/AltosEepromDownload.java
+++ b/altosui/AltosEepromDownload.java
@@ -314,7 +314,7 @@ public class AltosEepromDownload implements Runnable {
done = false;
start = true;
- if (flights.config_data.serial == 0)
+ if (flights.config_data.serial < 0)
throw new IOException("no serial number found");
/* Reset per-capture variables */