Avoid calling GetModemStatusBits on Android. Should fix #1
This commit is contained in:
9
cts_android.go
Normal file
9
cts_android.go
Normal file
@@ -0,0 +1,9 @@
|
||||
//go:build android
|
||||
|
||||
package main
|
||||
|
||||
import "github.com/albenik/go-serial/v2"
|
||||
|
||||
func cts(_ *serial.Port) (bool, error) {
|
||||
return true, nil
|
||||
}
|
Reference in New Issue
Block a user