X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=telegps%2FTeleGPSDisplayThread.java;h=0daccc20108a3eb93d54185a62fa4efa31e58383;hb=085336c45ce0577031a7af5de117a8b856160708;hp=09610f5908a5dda08123e481beef37e552ca3cef;hpb=f766a457323268857b3f2dfc7f42427437b71cb7;p=fw%2Faltos diff --git a/telegps/TeleGPSDisplayThread.java b/telegps/TeleGPSDisplayThread.java index 09610f59..0daccc20 100644 --- a/telegps/TeleGPSDisplayThread.java +++ b/telegps/TeleGPSDisplayThread.java @@ -21,8 +21,8 @@ import java.awt.*; import javax.swing.*; import java.io.*; import java.text.*; -import org.altusmetrum.altoslib_6.*; -import org.altusmetrum.altosuilib_6.*; +import org.altusmetrum.altoslib_11.*; +import org.altusmetrum.altosuilib_11.*; public class TeleGPSDisplayThread extends Thread { @@ -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)