aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/DualCDC/Descriptors.c
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-06-21 09:22:31 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-06-21 09:22:31 +0000
commit2edbbc057a17f192e668ea14d43e647eb3fbc1fb (patch)
tree1fc67eab7c45f67d3005d3dfdb614629a47c3567 /Demos/Device/ClassDriver/DualCDC/Descriptors.c
parentaad530bc92e082d717f7d41a87da8a2195a286b4 (diff)
Added new USE_INTERNAL_SERIAL define for using the unique serial numbers in some AVR models as the USB device's serial number, added NO_INTERNAL_SERIAL compile time option to turn off new serial number reading code. Updated Mass Storage and CDC based demos to use the new device serial number if the device it is compiled for supports it.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@622 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/ClassDriver/DualCDC/Descriptors.c')
-rw-r--r--Demos/Device/ClassDriver/DualCDC/Descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/DualCDC/Descriptors.c b/Demos/Device/ClassDriver/DualCDC/Descriptors.c
index 951a5586..92b3eb93 100644
--- a/Demos/Device/ClassDriver/DualCDC/Descriptors.c
+++ b/Demos/Device/ClassDriver/DualCDC/Descriptors.c
@@ -59,7 +59,7 @@ USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.ManufacturerStrIndex = 0x01,
.ProductStrIndex = 0x02,
- .SerialNumStrIndex = NO_DESCRIPTOR,
+ .SerialNumStrIndex = USE_INTERNAL_SERIAL,
.NumberOfConfigurations = 1
};