altosui: Open serial device at 'new' time. Prohibit duplicate opens.
authorKeith Packard <keithp@keithp.com>
Sun, 14 Nov 2010 00:07:04 +0000 (16:07 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 14 Nov 2010 00:07:04 +0000 (16:07 -0800)
commitdcfa56498d1b65a213b8aba9cbd6c4806532383c
tree196742b9dea168b18f6fbadaa54573a15fefd2b3
parent8463ffcaca6bcd31e645aba71c171f548dce96d8
altosui: Open serial device at 'new' time. Prohibit duplicate opens.

With the per-serial UI, there's never a reason to create a serial
device without opening it right away. This eliminates the bug caused
by not opening the serial device for telemetry reception.

Serial devices can now be opened only once; this eliminates errors
when trying to reflash or configure devices while receiving telemetry.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/altosui/AltosConfig.java
ao-tools/altosui/AltosDebug.java
ao-tools/altosui/AltosEepromDownload.java
ao-tools/altosui/AltosFlash.java
ao-tools/altosui/AltosFlashUI.java
ao-tools/altosui/AltosSerial.java
ao-tools/altosui/AltosTelemetryReader.java
ao-tools/altosui/AltosUI.java
ao-tools/altosui/Makefile.am