altoslib: Don't crash if there's no GPS coord to write KML
[fw/altos] / altoslib / AltosProgrammer.java
index 88777cf3003ba9bdf9e7e870c063da07a24c358a..0a828a32917535c8a913037483a9af99a08d7765 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -15,7 +16,7 @@
  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  */
 
-package org.altusmetrum.altoslib_2;
+package org.altusmetrum.altoslib_12;
 
 import java.io.*;
 
@@ -27,9 +28,7 @@ public abstract class AltosProgrammer {
 
        abstract public void abort();
 
-       abstract public AltosRomconfig romconfig();
+       abstract public AltosRomconfig romconfig() throws InterruptedException;
 
        abstract public void set_romconfig(AltosRomconfig config);
-
-
 }
\ No newline at end of file