feat: add ttyHS support for linux
Signed-off-by: Ancient Xu <ancientxu@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ package serial
|
||||
import "golang.org/x/sys/unix"
|
||||
|
||||
const devFolder = "/dev"
|
||||
const regexFilter = "(ttyS|ttyUSB|ttyACM|ttyAMA|rfcomm|ttyO|ttymxc)[0-9]{1,3}"
|
||||
const regexFilter = "(ttyS|ttyHS|ttyUSB|ttyACM|ttyAMA|rfcomm|ttyO|ttymxc)[0-9]{1,3}"
|
||||
|
||||
// termios manipulation functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user