mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 03:03:27 +00:00
more refactoring, verified CDC on macOS
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
//go:build baremetal && usb.cdc && (atsamd51 || atsame5x)
|
||||
// +build baremetal
|
||||
//go:build usb.cdc && (atsamd51 || atsame5x)
|
||||
// +build usb.cdc
|
||||
// +build atsamd51 atsame5x
|
||||
|
||||
@@ -7,6 +6,10 @@ package usb
|
||||
|
||||
import "runtime/volatile"
|
||||
|
||||
// descCDCCount defines the number of USB cores that may be configured as
|
||||
// CDC-ACM (single) devices.
|
||||
const descCDCCount = 1
|
||||
|
||||
// Constants for USB CDC-ACM device classes.
|
||||
const (
|
||||
|
||||
|
||||
Reference in New Issue
Block a user