From 259bdeb6c725b44fa27b6f927d9a3c5a868d09fd Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Tue, 20 Feb 2024 15:57:58 +0100 Subject: [PATCH] Fixed typo --- serial_darwin.go | 2 +- serial_freebsd.go | 2 +- serial_openbsd.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/serial_darwin.go b/serial_darwin.go index 2398ea5..a87458e 100644 --- a/serial_darwin.go +++ b/serial_darwin.go @@ -14,7 +14,7 @@ import ( const devFolder = "/dev" -var osPortFiler = regexp.MustCompile("^(cu|tty)\\..*") +var osPortFilter = regexp.MustCompile("^(cu|tty)\\..*") const ioctlTcgetattr = unix.TIOCGETA const ioctlTcsetattr = unix.TIOCSETA diff --git a/serial_freebsd.go b/serial_freebsd.go index 591dc4b..775b7a6 100644 --- a/serial_freebsd.go +++ b/serial_freebsd.go @@ -14,7 +14,7 @@ import ( const devFolder = "/dev" -var osPortFiler = regexp.MustCompile("^(cu|tty)\\..*") +var osPortFilter = regexp.MustCompile("^(cu|tty)\\..*") // termios manipulation functions diff --git a/serial_openbsd.go b/serial_openbsd.go index 3b396c1..ad5efd0 100644 --- a/serial_openbsd.go +++ b/serial_openbsd.go @@ -14,7 +14,7 @@ import ( const devFolder = "/dev" -var osPortFiler = regexp.MustCompile("^(cu|tty)\\..*") +var osPortFilter = regexp.MustCompile("^(cu|tty)\\..*") // termios manipulation functions