summaryrefslogtreecommitdiff
path: root/ao-tools
diff options
context:
space:
mode:
Diffstat (limited to 'ao-tools')
-rw-r--r--ao-tools/altosui/AltosDisplayThread.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/ao-tools/altosui/AltosDisplayThread.java b/ao-tools/altosui/AltosDisplayThread.java
index 375965b9..3e719130 100644
--- a/ao-tools/altosui/AltosDisplayThread.java
+++ b/ao-tools/altosui/AltosDisplayThread.java
@@ -116,10 +116,6 @@ public class AltosDisplayThread extends Thread {
}
public void run () {
-
- reported_landing = 0;
- state = null;
- report_interval = 10000;
try {
for (;;) {
set_report_time();
@@ -159,6 +155,12 @@ public class AltosDisplayThread extends Thread {
} else if (spoken)
set_report_time();
}
+
+ public IdleThread() {
+ state = null;
+ reported_landing = 0;
+ report_interval = 10000;
+ }
}
boolean tell(AltosState state, AltosState old_state) {