Avoid calling GetModemStatusBits on Android. Should fix #1

This commit is contained in:
Torsten Harenberg
2025-02-03 15:37:45 +01:00
parent 255137345f
commit 71d2cfb652
3 changed files with 37 additions and 17 deletions

9
cts_android.go Normal file
View 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
}