Fix broken XMEGA USB support.
This commit is contained in:
parent
f8f8ac0b1a
commit
fb18c315d0
5 changed files with 17 additions and 10 deletions
|
@ -211,8 +211,8 @@
|
|||
AVR32_USBB.UDCON.uadd = Address;
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
AVR32_USBB.UDCON.adden = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue