Allow serial strings to be generated on the older AVR8 devices which do not explicitl...
authorDean Camera <dean@fourwalledcubicle.com>
Wed, 8 Feb 2012 18:35:16 +0000 (18:35 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Wed, 8 Feb 2012 18:35:16 +0000 (18:35 +0000)
LUFA/DoxygenPages/ChangeLog.txt
LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h

index cf1ae73..c0e73da 100644 (file)
@@ -40,6 +40,8 @@
   *   - Updated the AVRISP-MKII Clone programmer project to be compatible with the latest version of AVR Studio (version 5.1)
   *   - Changed the AVRISP-MKII Clone programmer project to report a fixed 3.3V VTARGET voltage on USB AVRs lacking an ADC instead of 5V to prevent
   *     warnings in AVR Studio 5.1 when programming XMEGA devices
   *   - Updated the AVRISP-MKII Clone programmer project to be compatible with the latest version of AVR Studio (version 5.1)
   *   - Changed the AVRISP-MKII Clone programmer project to report a fixed 3.3V VTARGET voltage on USB AVRs lacking an ADC instead of 5V to prevent
   *     warnings in AVR Studio 5.1 when programming XMEGA devices
+  *   - 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
   *
   *  <b>Fixed:</b>
   *  - Core:
   *
   *  <b>Fixed:</b>
   *  - Core:
index 2e035d0..74920d5 100644 (file)
                        //@}
 
                        #if (!defined(NO_INTERNAL_SERIAL) && \
                        //@}
 
                        #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
                                  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