fix bashism that prevents building with /bin/sh->/bin/dash
[fw/altos] / altosui / AltosEepromLog.java
index be2549cb84dafed1af59c61c0f48f8e43164b38c..ee77e5c84046fee5f1e4a4fa75e00b7cd8932948 100644 (file)
@@ -82,7 +82,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 {