fix bashism that prevents building with /bin/sh->/bin/dash
[fw/altos] / altosui / AltosTelemetryReader.java
index 4512e76186c4a8304c222a1d4bf8ff594d066da9..1f327a67c75773bf95a6c81ec583fd554042bef7 100644 (file)
@@ -27,7 +27,6 @@ class AltosTelemetryReader extends AltosFlightReader {
        AltosSerial     serial;
        AltosLog        log;
        AltosRecord     previous;
-       AltosConfigData config_data;
        double          frequency;
        int             telemetry;
 
@@ -70,6 +69,10 @@ class AltosTelemetryReader extends AltosFlightReader {
                AltosPreferences.set_telemetry(device.getSerial(), telemetry);
        }
 
+       File backing_file() {
+               return log.file();
+       }
+
        public AltosTelemetryReader (AltosDevice in_device)
                throws FileNotFoundException, AltosSerialInUseException, IOException, InterruptedException, TimeoutException {
                device = in_device;