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/USBtoSerial | |
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/USBtoSerial')
-rw-r--r-- | Demos/Device/ClassDriver/USBtoSerial/Descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/USBtoSerial/Descriptors.c b/Demos/Device/ClassDriver/USBtoSerial/Descriptors.c index d4db3a4b7..38f5689b5 100644 --- a/Demos/Device/ClassDriver/USBtoSerial/Descriptors.c +++ b/Demos/Device/ClassDriver/USBtoSerial/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
};
|