Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs (thanks...
[pub/USBasp.git] / LUFA / Drivers / USB / LowLevel / DevChapter9.h
index 7bafcbf..41246ec 100644 (file)
                                static void USB_Device_GetStatus(void);
                                static void USB_Device_ClearSetFeature(void);
                                
-                               #if !defined(NO_INTERNAL_SERIAL) && (defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR))
+                               #if !defined(NO_INTERNAL_SERIAL) && (USE_INTERNAL_SERIAL != NO_DESCRIPTOR)
                                        static char USB_Device_NibbleToASCII(uint8_t Nibble) ATTR_ALWAYS_INLINE;
                                        static void USB_Device_GetInternalSerialDescriptor(void);
                                #endif