Updated license years

This commit is contained in:
Cristian Maglie
2021-07-20 12:56:48 +02:00
parent 9cebdc6aa3
commit adc54fb194
31 changed files with 63 additions and 49 deletions

View File

@@ -1,14 +1,17 @@
//
// Copyright 2014-2020 Cristian Maglie. All rights reserved.
// Copyright 2014-2021 Cristian Maglie. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
package serial_test
import "fmt"
import "log"
import "go.bug.st/serial"
import (
"fmt"
"log"
"go.bug.st/serial"
)
func ExampleSerialPort_SetMode() {
port, err := serial.Open("/dev/ttyACM0", &serial.Mode{})