diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-21 09:22:31 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-21 09:22:31 +0000 |
commit | 730624f745648cbd32bec7da64833cb2aadd44ea (patch) | |
tree | 1fc67eab7c45f67d3005d3dfdb614629a47c3567 /Demos/Device/ClassDriver/DualCDC | |
parent | 9d506553aa750264ff6045ff9180397993cb37c0 (diff) | |
download | lufa-730624f745648cbd32bec7da64833cb2aadd44ea.tar.gz lufa-730624f745648cbd32bec7da64833cb2aadd44ea.tar.bz2 lufa-730624f745648cbd32bec7da64833cb2aadd44ea.zip |
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.
Diffstat (limited to 'Demos/Device/ClassDriver/DualCDC')
-rw-r--r-- | Demos/Device/ClassDriver/DualCDC/Descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/DualCDC/Descriptors.c b/Demos/Device/ClassDriver/DualCDC/Descriptors.c index 951a5586c..92b3eb930 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
};
|