altoslib: Close serial port when AltosFlash fails to detect a target
authorKeith Packard <keithp@keithp.com>
Mon, 18 Aug 2014 03:51:36 +0000 (20:51 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 18 Aug 2014 03:51:36 +0000 (20:51 -0700)
AltosDebug.check_connection raises an exception when the link fails,
but the AltosFlash constructor didn't close the serial port in this
case, causing the serial port to appear to be busy.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found