altosui: Output recorded clock tick in CSV files
[fw/altos] / altosui / AltosEepromDownload.java
index 358ad337900e204435726f005cd529a299fc20ab..40c98bfd7d6b661083c5187fc2d3cea1fae46bca 100644 (file)
@@ -248,6 +248,10 @@ public class AltosEepromDownload implements Runnable {
                        done = true;
        }
 
+       void CaptureTelemetry(AltosEepromChunk eechunk) throws IOException {
+               
+       }
+
        void CaptureLog(AltosEepromLog log) throws IOException, InterruptedException, TimeoutException {
                int                     block, state_block = 0;
                int                     log_format = flights.config_data.log_format;
@@ -300,10 +304,10 @@ public class AltosEepromDownload implements Runnable {
                                extension = "eeprom";
                                CaptureTiny(eechunk);
                                break;
-//                     case Altos.AO_LOG_FORMAT_TELEMETRY:
-//                             extension = "telem";
-//                             CaptureTelemetry(eechunk);
-//                             break;
+                       case Altos.AO_LOG_FORMAT_TELEMETRY:
+                               extension = "telem";
+                               CaptureTelemetry(eechunk);
+                               break;
                        case Altos.AO_LOG_FORMAT_TELESCIENCE:
                                extension = "science";
                                CaptureTeleScience(eechunk);
@@ -347,7 +351,7 @@ public class AltosEepromDownload implements Runnable {
 
                        for (AltosEepromLog log : flights) {
                                parse_exception = null;
-                               if (log.download) {
+                               if (log.selected) {
                                        monitor.reset();
                                        CaptureLog(log);
                                }