For the timeout dialog to appear, a frame must be configured for it to
appear near. This patch sends the frame from the eeprom download
functions to the serial code. That path doesn't yet work as the eeprom
download is still trying to talk to the serial device from the swing
event thread, which prevents the cancel dialog from working.
Signed-off-by: Keith Packard <keithp@keithp.com>
frame = given_frame;
serial_line = given_serial_line;
+ serial_line.set_frame(frame);
remote = given_remote;
flights = given_flights;
success = false;
if (!device.matchProduct(AltosDevice.product_telemetrum))
remote = true;
+ serial_line.set_frame(frame);
+
flights = new AltosEepromList(serial_line, remote);
if (flights.size() == 0) {