altosui: fetch existing romconfig for flashing
authorKeith Packard <keithp@keithp.com>
Tue, 24 Aug 2010 11:01:14 +0000 (04:01 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 24 Aug 2010 11:01:14 +0000 (04:01 -0700)
ao-tools/altosui/AltosFlash.java

index 7aeab89..b701855 100644 (file)
@@ -315,6 +315,8 @@ public class AltosFlash {
        }
 
        public AltosRomconfig romconfig() {
+               if (!check_rom_config())
+                       return null;
                return rom_config;
        }