summaryrefslogtreecommitdiff
path: root/telegps/TeleGPSDisplayThread.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-09-21 06:32:52 +0100
committerKeith Packard <keithp@keithp.com>2015-10-13 13:54:28 -0700
commit431c713389dc819d2433d893c898ff82c7941722 (patch)
tree385a6d3ec6276744752bcc3fae8310ec045d9645 /telegps/TeleGPSDisplayThread.java
parentc1dec3bec0789e8934a6e13fd117931ba468b318 (diff)
altoslib: Clean up remaining direct AltosState.state users
This value has been hidden to avoid having it written accidentally; there were a few more bits of code using it though. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'telegps/TeleGPSDisplayThread.java')
-rw-r--r--telegps/TeleGPSDisplayThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/telegps/TeleGPSDisplayThread.java b/telegps/TeleGPSDisplayThread.java
index fa394b17..11bca5d0 100644
--- a/telegps/TeleGPSDisplayThread.java
+++ b/telegps/TeleGPSDisplayThread.java
@@ -129,7 +129,7 @@ public class TeleGPSDisplayThread extends Thread {
}
public synchronized void notice(boolean spoken) {
- if (old_state != null && old_state.state != state.state) {
+ if (old_state != null && old_state.state() != state.state()) {
report_time = now();
this.notify();
} else if (spoken)