diff options
author | Anthony Towns <aj@erisian.com.au> | 2010-11-20 18:14:30 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2010-11-20 18:14:30 +1000 |
commit | 0ecf033110084f1a8be98282d7029dc14f70dab5 (patch) | |
tree | 3cd4f83bcf4b6bcbf9bd7223e81cbfc76285bf93 /ao-tools | |
parent | 081fbd5715f9d3d81d98e149fb95d40447c07a79 (diff) | |
parent | 71c41eadd12c3ece5fffce7669e4991778046d4e (diff) |
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Diffstat (limited to 'ao-tools')
-rw-r--r-- | ao-tools/altosui/AltosDisplayThread.java | 10 |
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) { |