summaryrefslogtreecommitdiff
path: root/src/ao_flight.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-09-03 01:30:33 -0700
committerKeith Packard <keithp@keithp.com>2010-09-03 07:04:28 -0700
commit71191ecef3ba0e00d0f8a7cd1a24982bfa44ec72 (patch)
treea519a7efe0b8b40e17c509ed21279c33e1e21689 /src/ao_flight.c
parentba65e4aeb952a1cf49a77f1e24e235508fcea71f (diff)
altosui: Allow 'connect to device' when already connected
Opening another serial device involves shutting down the display thread (to reset its state) and spawning another one. Shutting down the display thread normally closes the serial device as a part of the process, and if this isn't done before the new serial device is opened, then the new serial device ends up getting closed too. Interrupting the display thread and waiting for it to stop before opening the new serial device solves the problem. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_flight.c')
0 files changed, 0 insertions, 0 deletions