altoslib: Pass InterruptedException up the stack instead of hiding it
[fw/altos] / altoslib / AltosMs5607.java
index b29fa9ae845d11ad4652448f4627587ae062027e..23d65ea9c07be5ca2f5ed9490af485df9d4555d7 100644 (file)
@@ -128,7 +128,7 @@ public class AltosMs5607 {
                return true;
        }
 
-       static public void update_state(AltosState state, AltosLink link, AltosConfigData config_data) {
+       static public void update_state(AltosState state, AltosLink link, AltosConfigData config_data) throws InterruptedException {
                try {
                        AltosMs5607     ms5607 = new AltosMs5607(link);
 
@@ -137,7 +137,6 @@ public class AltosMs5607 {
                                return;
                        }
                } catch (TimeoutException te) {
-               } catch (InterruptedException ie) {
                }
        }