diff options
author | sago35 <[email protected]> | 2023-11-06 09:57:04 +0900 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-11-07 00:11:40 +0100 |
commit | 2b215955cac75b1308d02269b8ea5b73448708a9 (patch) | |
tree | 989a92739c96d8286ee503ceafa639e8c16c1525 /src/machine/usb | |
parent | ce25f007695d14dd173f326a052a1cf110b63c57 (diff) | |
download | tinygo-2b215955cac75b1308d02269b8ea5b73448708a9.tar.gz tinygo-2b215955cac75b1308d02269b8ea5b73448708a9.zip |
machine/usb: add support for ISERIAL descriptor
Diffstat (limited to 'src/machine/usb')
-rw-r--r-- | src/machine/usb/usb.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/machine/usb/usb.go b/src/machine/usb/usb.go index 47a8a3456..360ac3902 100644 --- a/src/machine/usb/usb.go +++ b/src/machine/usb/usb.go @@ -134,4 +134,8 @@ var ( // Product is the product name displayed for this USB device. Product string + + // Serial is the serial value displayed for this USB device. Assign a value to + // transmit the serial to the host when requested. + Serial string ) |