summaryrefslogtreecommitdiff
path: root/ao-tools/ao-dbg/ao-dbg-main.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-07 09:53:10 -0800
committerKeith Packard <keithp@keithp.com>2013-12-07 09:53:10 -0800
commit407696f11ac1736e840c9b702592c46197d14c2c (patch)
tree34c77c25a41e4f5097a6addccec725ce19454e45 /ao-tools/ao-dbg/ao-dbg-main.c
parent1a47532f411488f003726aa9365ede5dc90c5b78 (diff)
altosui: Clean up serial close handling
Unify serial close processing in a single function (close_serial), make everyone else call that. This avoids a couple of cases where the device would be closed and not removed from the devices_opened list, leading to 'device is already in use' messages. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/ao-dbg/ao-dbg-main.c')
0 files changed, 0 insertions, 0 deletions