samd21,samd51,nrf52840: move usbcdc to machine/usb/cdc (#2972)

* samd21,samd51,nrf52840: move usbcdc to machine/usb/cdc
This commit is contained in:
sago35
2022-07-10 18:33:52 +09:00
committed by GitHub
parent 56780c2691
commit d434058aef
15 changed files with 662 additions and 839 deletions
+2 -1
View File
@@ -4,7 +4,8 @@
package machine
// Serial is implemented via USB (USB-CDC).
var Serial = USB
var Serial Serialer
func InitSerial() {
Serial = USBCDC
}