From 2e7b7b80432bb251ac39efa1fa05d32b5f250e14 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 25 Apr 2011 21:17:07 -0700 Subject: altosui: Separate out flash debug code to separate thread This avoids blocking the Swing thread while waiting for the serial device. Signed-off-by: Keith Packard --- altosui/AltosUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'altosui/AltosUI.java') diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java index 7955c1c2..7bb4ba12 100644 --- a/altosui/AltosUI.java +++ b/altosui/AltosUI.java @@ -219,7 +219,7 @@ public class AltosUI extends JFrame { } void FlashImage() { - new AltosFlashUI(AltosUI.this); + AltosFlashUI.show(AltosUI.this); } void FireIgniter() { -- cgit v1.2.3