ao-tools: Add TMv2 and Tgps log formats to cc.h
[fw/altos] / altoslib / AltosFlash.java
index 0906f2ef0ffe74c40be2190241f4619d9f5055c2..bd4fb6d09d4658a6c23dd283ff94b4d38ac3c991 100644 (file)
@@ -15,7 +15,7 @@
  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  */
 
-package org.altusmetrum.altoslib_2;
+package org.altusmetrum.altoslib_5;
 
 import java.io.*;
 
@@ -318,7 +318,7 @@ public class AltosFlash extends AltosProgrammer {
                close();
        }
 
-       public boolean check_rom_config() {
+       public boolean check_rom_config() throws InterruptedException {
                if (debug == null)
                        return true;
                if (rom_config == null)
@@ -330,7 +330,7 @@ public class AltosFlash extends AltosProgrammer {
                rom_config = romconfig;
        }
 
-       public AltosRomconfig romconfig() {
+       public AltosRomconfig romconfig() throws InterruptedException {
                if (!check_rom_config())
                        return null;
                return rom_config;