summaryrefslogtreecommitdiff
path: root/telegps/TeleGPSDisplayThread.java
diff options
context:
space:
mode:
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)