goburrow / serial

Go (golang) serial library for modbus
https://github.com/goburrow/modbus
MIT License
191 stars 90 forks source link

Fixed cross compilation on MIPS architecture #10

Closed ethankan closed 6 years ago

ethankan commented 6 years ago

This is to support compilation on MIPS-based hardware (e.g. OpenWRT). On MIPS, the Termios struct does not have the Ispeed and Ospeed fields. Use a set of wrapper functions to work around.

nqv commented 6 years ago

Thank you 👍