X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosEepromLog.java;h=475d7f122a6bb50e319591b390b9058ac429c56e;hb=0952224c36eba25db34bd147d2d579c66b15bbf8;hp=be2549cb84dafed1af59c61c0f48f8e43164b38c;hpb=03e201e1acc8742399054e4ad36b533120ea1612;p=fw%2Faltos diff --git a/altosui/AltosEepromLog.java b/altosui/AltosEepromLog.java index be2549cb..475d7f12 100644 --- a/altosui/AltosEepromLog.java +++ b/altosui/AltosEepromLog.java @@ -43,8 +43,7 @@ public class AltosEepromLog { int year, month, day; - boolean download; - boolean delete; + boolean selected; public AltosEepromLog(AltosConfigData config_data, AltosSerial serial_line, @@ -63,10 +62,9 @@ public class AltosEepromLog { serial = config_data.serial; /* - * By default, request that every log be downloaded but not deleted + * Select all flights for download */ - download = true; - delete = false; + selected = true; /* * Look in TeleMetrum log data for date @@ -82,7 +80,7 @@ public class AltosEepromLog { in_end_block = in_start_block + 2; for (block = in_start_block; block < in_end_block; block++) { - AltosEepromChunk eechunk = new AltosEepromChunk(serial_line, block); + AltosEepromChunk eechunk = new AltosEepromChunk(serial_line, block, block == in_start_block); for (int i = 0; i < eechunk.chunk_size; i += AltosEepromRecord.record_length) { try {