diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-02-08 18:35:16 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-02-08 18:35:16 +0000 |
commit | c60897df393cd6716e1bc32c9dcbe78c8f06059f (patch) | |
tree | 3afe75ce47815b87c6768d79ecf2e0de1ab13e3f /LUFA/Drivers/USB | |
parent | 18b82b3575162c2c6d462c8f34a7d942f77a88ec (diff) | |
download | lufa-c60897df393cd6716e1bc32c9dcbe78c8f06059f.tar.gz lufa-c60897df393cd6716e1bc32c9dcbe78c8f06059f.tar.bz2 lufa-c60897df393cd6716e1bc32c9dcbe78c8f06059f.zip |
Allow serial strings to be generated on the older AVR8 devices which do not explicitly state they contain unique values in the datasheet, as this appears to be implemented in hardware.
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r-- | LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h b/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h index 2e035d07f..74920d54c 100644 --- a/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h +++ b/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h @@ -101,8 +101,8 @@ //@} #if (!defined(NO_INTERNAL_SERIAL) && \ - (defined(USB_SERIES_7_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_4_AVR) || \ - (defined(USB_SERIES_2_AVR) && (!defined(__AVR_AT90USB82__) || defined(__AVR_AT90USB162__))) || \ + (defined(USB_SERIES_7_AVR) || defined(USB_SERIES_6_AVR) || \ + defined(USB_SERIES_4_AVR) || defined(USB_SERIES_2_AVR) || \ defined(__DOXYGEN__))) /** String descriptor index for the device's unique serial number string descriptor within the device. * This unique serial number is used by the host to associate resources to the device (such as drivers or COM port |