aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/XMEGA
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-01-03 10:53:47 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-01-03 10:53:47 +0000
commit2608fd1dd48096c1867676de337767ff3fb1a951 (patch)
treecca01486688aaa7dfa9426a0afdf23f0834f5c87 /LUFA/Drivers/USB/Core/XMEGA
parent7d037c7db812be4dac1a742c990f3631fbd82cb5 (diff)
downloadlufa-2608fd1dd48096c1867676de337767ff3fb1a951.tar.gz
lufa-2608fd1dd48096c1867676de337767ff3fb1a951.tar.bz2
lufa-2608fd1dd48096c1867676de337767ff3fb1a951.zip
Fixed hardware race condition that could cause failed device enumerations for AVR8 and UC3 architectures (thanks to Mike Beyhs).
Fixed incorrect Minimus board LED definitions (thanks to Joonas Lahtinen). Fixed incorrect LED masks for received data display in the Device GenericHID demos (thanks to Denys Berkovskyy).
Diffstat (limited to 'LUFA/Drivers/USB/Core/XMEGA')
-rw-r--r--LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h b/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h
index 7dd020296..1cf3557b5 100644
--- a/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h
+++ b/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h
@@ -208,6 +208,12 @@
USB.ADDR = Address;
}
+ static inline void USB_Device_EnableDeviceAddress(void) ATTR_ALWAYS_INLINE;
+ static inline void USB_Device_EnableDeviceAddress(void)
+ {
+ /* No implementation for XMEGA architecture */
+ }
+
static inline bool USB_Device_IsAddressSet(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;
static inline bool USB_Device_IsAddressSet(void)
{