diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-28 16:12:09 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-28 16:12:09 +0000 |
commit | 6928f17b640bc2060c7829ed67c797f37c3d92a0 (patch) | |
tree | b90caf2675b0f29f1c05c6bfcdd3d32a4949efbc /Projects/Magstripe | |
parent | 7f3f39b5750b9ac877798f41efcf82d931d657f8 (diff) | |
download | lufa-6928f17b640bc2060c7829ed67c797f37c3d92a0.tar.gz lufa-6928f17b640bc2060c7829ed67c797f37c3d92a0.tar.bz2 lufa-6928f17b640bc2060c7829ed67c797f37c3d92a0.zip |
Extend the automatic serial number descriptor code to read out and send all 10 bytes (20 characters) of the internal serial number on supported AVRs, rather than just the first 6 bytes (12 characters).
Diffstat (limited to 'Projects/Magstripe')
-rw-r--r-- | Projects/Magstripe/Descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/Magstripe/Descriptors.c b/Projects/Magstripe/Descriptors.c index 68c98ed34..7aa646613 100644 --- a/Projects/Magstripe/Descriptors.c +++ b/Projects/Magstripe/Descriptors.c @@ -93,7 +93,7 @@ USB_Descriptor_Device_t PROGMEM DeviceDescriptor = .ManufacturerStrIndex = 0x01,
.ProductStrIndex = 0x02,
- .SerialNumStrIndex = NO_DESCRIPTOR,
+ .SerialNumStrIndex = USE_INTERNAL_SERIAL,
.NumberOfConfigurations = 1
};
|