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