projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add run-time dependency on libjfreechart-java
[fw/altos]
/
altosui
/
AltosDebug.java
diff --git
a/altosui/AltosDebug.java
b/altosui/AltosDebug.java
index 8d435b667d5ecb584b118bed27a5d9945b4abb92..d18de80d09d36e0fe9d84f0652f79bbdbd533d5a 100644
(file)
--- a/
altosui/AltosDebug.java
+++ b/
altosui/AltosDebug.java
@@
-62,7
+62,10
@@
public class AltosDebug extends AltosSerial {
void ensure_debug_mode() {
if (!debug_mode) {
printf("D\n");
- flush_input();
+ try {
+ flush_input();
+ } catch (InterruptedException ie) {
+ }
debug_mode = true;
}
}