aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/diskloader/src/USBDesc.h
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-11-16 16:38:22 -0500
committerZach Eveland <zeveland@blacklabel-development.com>2011-11-16 16:38:22 -0500
commit36513f8362d4ee96ec801728921e4c1e8dc29a3b (patch)
treeeeaf06289d506318e9354c4bc97ad2b03df54735 /bootloaders/diskloader/src/USBDesc.h
parented336f1b68cd537965c1294a3402769688a686ab (diff)
Leonardo bootloader now sends iSerial string during enumeration. Seems to satisfy Windows' composite device requirements.
Diffstat (limited to 'bootloaders/diskloader/src/USBDesc.h')
-rw-r--r--bootloaders/diskloader/src/USBDesc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootloaders/diskloader/src/USBDesc.h b/bootloaders/diskloader/src/USBDesc.h
index 094dba5..a970fa4 100644
--- a/bootloaders/diskloader/src/USBDesc.h
+++ b/bootloaders/diskloader/src/USBDesc.h
@@ -55,9 +55,11 @@ extern DeviceDescriptor USB_DeviceDescriptorA PROGMEM;
extern const u16 STRING_LANGUAGE[2] PROGMEM;
extern const u16 STRING_IPRODUCT[28] PROGMEM;
extern const u16 STRING_IMANUFACTURER[12] PROGMEM;
+extern const u16 STRING_SERIAL[13] PROGMEM;
#define IMANUFACTURER 1
#define IPRODUCT 2
+#define ISERIAL 3
#define CDC_TX CDC_ENDPOINT_IN
#define CDC_RX CDC_ENDPOINT_OUT \ No newline at end of file