Fixed examples for docs

This commit is contained in:
Cristian Maglie
2024-06-25 23:52:38 +02:00
parent 0b7848559a
commit f5a4685ea0
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ import (
"go.bug.st/serial"
)
func ExampleGetSetModemBits() {
func ExamplePort_GetModemStatusBits() {
// Open the first serial port detected at 9600bps N81
mode := &serial.Mode{
BaudRate: 9600,