mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
...and fix for OSX.
This commit is contained in:
@@ -119,7 +119,7 @@
|
|||||||
SerialPortImpl(const std::string& path)
|
SerialPortImpl(const std::string& path)
|
||||||
{
|
{
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
if (name.find("/dev/tty.") != std::string::npos)
|
if (path.find("/dev/tty.") != std::string::npos)
|
||||||
std::cerr << "Warning: you probably want to be using a /dev/cu.* device\n";
|
std::cerr << "Warning: you probably want to be using a /dev/cu.* device\n";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user