Improve appearance, especially on Windows
This commit is contained in:
parent
a3a4b7e504
commit
447bd9e429
5 changed files with 68 additions and 46 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue