libaltos: Open FTDI serial devices twice on Windows.
authorKeith Packard <keithp@keithp.com>
Sun, 3 Mar 2013 01:46:29 +0000 (17:46 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 3 Mar 2013 01:46:29 +0000 (17:46 -0800)
commit784edcda52d681bbc9302fbc7efb80cb214f71b8
tree91930e1f8b385ba15e5c1e7f277c2afea71c1726
parentcb09076fe16d28e25f5b20b2178cfad10adbeddb
libaltos: Open FTDI serial devices twice on Windows.

Looks like the Windows FTDI driver has 'issues' and opening it only
once doesn't work correctly. Just close and re-open the device and it
seems to be perfectly happy.

Who knows?

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