Improve appearance, especially on Windows

This commit is contained in:
PaulStoffregen 2016-04-03 13:32:15 -07:00
commit 447bd9e429
5 changed files with 68 additions and 46 deletions

View file

@ -622,7 +622,7 @@ int write_serial_data(const void *ptr, int len)
void close_port(void)
{
CloseHandle(port_handle);
port_handle = NULL;
port_handle = INVALID_HANDLE_VALUE;
}