aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/serial-usb.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/machine/serial-usb.go')
-rw-r--r--src/machine/serial-usb.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/machine/serial-usb.go b/src/machine/serial-usb.go
index 0bec8e297..702cab1ee 100644
--- a/src/machine/serial-usb.go
+++ b/src/machine/serial-usb.go
@@ -4,7 +4,8 @@
package machine
// Serial is implemented via USB (USB-CDC).
-var Serial = USB
+var Serial Serialer
func InitSerial() {
+ Serial = USBCDC
}