Skip to content

Commit

Permalink
fixed compilation on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
masf7g committed Apr 21, 2020
1 parent 9c0f6c1 commit 5bf4aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SCSerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ void LinuxSerial::flush() {

SerialIO *SerialIO::getSerialIO(unsigned long int IOTimeOut) {
#if defined(__linux__)
return new LinuxSerial(IOTimeOut));
return new LinuxSerial(IOTimeOut);
//#elif defined(__APPLE__)
// return (PortHandler *)(new PortHandlerMac(port_name));
#elif defined(_WIN32) || defined(_WIN64)
Expand Down

0 comments on commit 5bf4aad

Please sign in to comment.