altosui: Set idle mode frequency before starting link
[fw/altos] / altosui / AltosIdleMonitorUI.java
index fc76b2b658c87db172a8043bce7e6912679ae7fa..bc3060e0d0dee64298839660e853dc3a3a2a9569 100644 (file)
@@ -297,6 +297,8 @@ public class AltosIdleMonitorUI extends AltosUIFrame implements AltosFlightDispl
 
                thread = new AltosIdleMonitor(this, link, (boolean) remote);
 
+               thread.set_frequency(AltosUIPreferences.frequency(serial));
+
                status_update = new AltosFlightStatusUpdate(flightStatus);
 
                new javax.swing.Timer(100, status_update).start();