From: Keith Packard Date: Wed, 12 Sep 2012 06:04:19 +0000 (-0700) Subject: Clean up Windows event handles on com port close X-Git-Tag: 1.1~5^2 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=3fa5fbdfd1ab257028f272fbc32759b39608ddaf;hp=3fa5fbdfd1ab257028f272fbc32759b39608ddaf Clean up Windows event handles on com port close This avoids having to wait for the receiver to timeout before we can open the same com port again. This patch also adds a bit more debugging -- it prints Windows error messages to stdout along with the file/line where the error was generated. Signed-off-by: Keith Packard ---