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

@@ -13,7 +13,7 @@ import (
"go.bug.st/serial"
)
func ExampleSerialPort_SetMode() {
func ExamplePort_SetMode() {
port, err := serial.Open("/dev/ttyACM0", &serial.Mode{})
if err != nil {
log.Fatal(err)