X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=altosui%2FAltosEepromDownload.java;h=a5e99749d9c12cb25cd035af04398df4b30e1442;hp=a8cb24ff0c287f670c255a5524a12ded19a8c524;hb=440365bd17d804c2f574c35164612cf1682397d7;hpb=4d6d90e15db30991bf81060a0876ae8adb843c75 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 */