summaryrefslogtreecommitdiff
path: root/telegps/TeleGPS.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-06-10 10:11:03 -0700
committerKeith Packard <keithp@keithp.com>2014-06-10 10:11:03 -0700
commitae1174317fc476e39077f7dc257ec08709c6b301 (patch)
tree2ec45054f13e08e24cfb93743b04a976cd68aac9 /telegps/TeleGPS.java
parent44ca50a2c9404c92cc887a23dfa25b335ebe6198 (diff)
altoslib/altosui/telegps: Change log size configuration
* Use new log-space value provided by firmware when available. * Divide that up into 1-8 flights and offer those sizes as options to the user instead of a fixed set of sizes. * Show how many flights each selection will store * This also checks values provided by the user Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'telegps/TeleGPS.java')
-rw-r--r--telegps/TeleGPS.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/telegps/TeleGPS.java b/telegps/TeleGPS.java
index 71174436..c61b245e 100644
--- a/telegps/TeleGPS.java
+++ b/telegps/TeleGPS.java
@@ -51,7 +51,7 @@ public class TeleGPS
}
AltosFlightReader reader;
- AltosDisplayThread thread;
+ TeleGPSDisplayThread thread;
JMenuBar menu_bar;
@@ -349,7 +349,7 @@ public class TeleGPS
public void set_reader(AltosFlightReader reader) {
setTitle(String.format("TeleGPS %s", reader.name));
- thread = new AltosDisplayThread(this, voice(), this, reader);
+ thread = new TeleGPSDisplayThread(this, voice(), this, reader);
thread.start();
}