aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/serial-none.go
blob: 6cfce217a3a47456a774e1ba18fcdc47ab30ea97 (plain)
1
2
3
4
5
6
7
8
9
10
11
//go:build baremetal && serial.none
// +build baremetal,serial.none

package machine

// Serial is a null device: writes to it are ignored.
var Serial = NullSerial{}

func InitSerial() {
	Serial.Configure(UARTConfig{})
}