projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: Pass InterruptedException up the stack instead of hiding it
[fw/altos]
/
altoslib
/
AltosFlash.java
diff --git
a/altoslib/AltosFlash.java
b/altoslib/AltosFlash.java
index d806915797b7362512e5bd0d6643def2b9b0f342..0977070e2a2883adba4a49b772712c5c6dd436b0 100644
(file)
--- a/
altoslib/AltosFlash.java
+++ b/
altoslib/AltosFlash.java
@@
-19,7
+19,7
@@
package org.altusmetrum.altoslib_2;
import java.io.*;
import java.io.*;
-public class AltosFlash {
+public class AltosFlash
extends AltosProgrammer
{
File file;
FileInputStream input;
AltosHexfile image;
File file;
FileInputStream input;
AltosHexfile image;
@@
-318,7
+318,7
@@
public class AltosFlash {
close();
}
close();
}
- public boolean check_rom_config() {
+ public boolean check_rom_config()
throws InterruptedException
{
if (debug == null)
return true;
if (rom_config == null)
if (debug == null)
return true;
if (rom_config == null)
@@
-330,7
+330,7
@@
public class AltosFlash {
rom_config = romconfig;
}
rom_config = romconfig;
}
- public AltosRomconfig romconfig() {
+ public AltosRomconfig romconfig()
throws InterruptedException
{
if (!check_rom_config())
return null;
return rom_config;
if (!check_rom_config())
return null;
return rom_config;