mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 19:54:57 +08:00
fix warning on Windows
This commit is contained in:
parent
10ac4e1c25
commit
b8320d31a7
@ -28,6 +28,7 @@ _prefix_port_if_needed(const wstring &input)
|
|||||||
{
|
{
|
||||||
return windows_com_port_prefix + input;
|
return windows_com_port_prefix + input;
|
||||||
}
|
}
|
||||||
|
return input;
|
||||||
}
|
}
|
||||||
|
|
||||||
Serial::SerialImpl::SerialImpl (const string &port, unsigned long baudrate,
|
Serial::SerialImpl::SerialImpl (const string &port, unsigned long baudrate,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user