Fixed serial compile issue
This commit is contained in:
@ -87,7 +87,7 @@ int serialport_set_config(int fd, int baud)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int serialport_init(const char* device, int baud, bool block = false)
|
||||
int serialport_init(const char* device, int baud, bool block)
|
||||
{
|
||||
int fd;
|
||||
fd = open(device, O_RDWR | O_NOCTTY | (block ? 0 : O_NONBLOCK));
|
||||
|
Reference in New Issue
Block a user