X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=telegps%2FTeleGPSDisplayThread.java;h=11bca5d09a53f404fa3cc1353cbbfe1f4b7cabe7;hb=14ad137fd14707bc7b45a3512a4a6f81915ca1c1;hp=fa394b17fe3c0d2b1e830e861cbeda9e1baf4b39;hpb=d6445b3739ac2c5dd040efdb97317a6b2a48044a;p=fw%2Faltos 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)