altosui: Accept serial number of zero for eeprom download
[fw/altos] / altosui / AltosEepromDownload.java
index a8cb24ff0c287f670c255a5524a12ded19a8c524..a5e99749d9c12cb25cd035af04398df4b30e1442 100644 (file)
@@ -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 */