diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-01-27 19:35:40 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-01-27 19:35:40 +0000 |
commit | fb18c315d02303e3f32fda41fcde3b16e747f10b (patch) | |
tree | f828d9d8f650227710daacc502a3c8a41c61f199 /LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h | |
parent | f8f8ac0b1a4745da8e5311ddb0bd395b7dd18ba8 (diff) | |
download | lufa-fb18c315d02303e3f32fda41fcde3b16e747f10b.tar.gz lufa-fb18c315d02303e3f32fda41fcde3b16e747f10b.tar.bz2 lufa-fb18c315d02303e3f32fda41fcde3b16e747f10b.zip |
Fix broken XMEGA USB support.
Diffstat (limited to 'LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h')
-rw-r--r-- | LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h b/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h index d2d506cd7..6e2380a17 100644 --- a/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h +++ b/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h @@ -205,13 +205,13 @@ static inline void USB_Device_SetDeviceAddress(const uint8_t Address) ATTR_ALWAYS_INLINE; static inline void USB_Device_SetDeviceAddress(const uint8_t Address) { - USB.ADDR = Address; + /* No implementation for XMEGA architecture */ } - static inline void USB_Device_EnableDeviceAddress(void) ATTR_ALWAYS_INLINE; - static inline void USB_Device_EnableDeviceAddress(void) + static inline void USB_Device_EnableDeviceAddress(const uint8_t Address) ATTR_ALWAYS_INLINE; + static inline void USB_Device_EnableDeviceAddress(const uint8_t Address) { - /* No implementation for XMEGA architecture */ + USB.ADDR = Address; } static inline bool USB_Device_IsAddressSet(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT; |