mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Typo fix on the Linux/OSX side of things.
This commit is contained in:
@@ -104,7 +104,9 @@
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
static int open_serial_port(const std::string& name)
|
|
||||||
|
typedef int FileHandle;
|
||||||
|
static FileHandle open_serial_port(const std::string& name)
|
||||||
{
|
{
|
||||||
int fd = open(name.c_str(), O_RDWR);
|
int fd = open(name.c_str(), O_RDWR);
|
||||||
if (fd == -1)
|
if (fd == -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user