From 2b215955cac75b1308d02269b8ea5b73448708a9 Mon Sep 17 00:00:00 2001 From: sago35 Date: Mon, 6 Nov 2023 09:57:04 +0900 Subject: machine/usb: add support for ISERIAL descriptor --- src/machine/usb/usb.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/machine/usb') 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 ) -- cgit v1.2.3