tarm / serial

BSD 3-Clause "New" or "Revised" License
1.6k stars 453 forks source link

serial_linux/posix: don't use _posix if cgo is enabled on linux #61

Closed jdizzle closed 6 years ago

jdizzle commented 7 years ago

Setting linux-compatible baudrates (like 1Mbaud) does not work using _posix.

wino45 commented 7 years ago

Same problem with my software on Linux (using 460800 baud). Please merge this one.