diff --git a/example_modem_bits_test.go b/example_modem_bits_test.go index 1673aaf..1532616 100644 --- a/example_modem_bits_test.go +++ b/example_modem_bits_test.go @@ -27,7 +27,7 @@ func ExampleGetSetModemBits() { count := 0 for count < 25 { - status, err := port.GetStatus() + status, err := port.GetModemStatusBits() if err != nil { log.Fatal(err) }