altosui: Eliminate inter-chunk flush_input calls
[fw/altos] / altosui / AltosEepromDownload.java
index 6112a3b1cdce943febb0e87eb8b2d247ee71ad08..b44a1451b241db864a3790df8ff00389e95678a3 100644 (file)
@@ -275,7 +275,7 @@ public class AltosEepromDownload implements Runnable {
                for (block = log.start_block; !done && block < log.end_block; block++) {
                        monitor.set_value(Altos.state_to_string[state], state, block - state_block);
 
-                       AltosEepromChunk        eechunk = new AltosEepromChunk(serial_line, block);
+                       AltosEepromChunk        eechunk = new AltosEepromChunk(serial_line, block, block == log.start_block);
 
                        /*
                         * Guess what kind of data is there if the device