Suppress unused function parameter warnings in the USB driver.
This commit is contained in:
parent
fb18c315d0
commit
da42e8840d
4 changed files with 8 additions and 1 deletions
|
@ -216,7 +216,9 @@
|
|||
static inline void USB_Device_EnableDeviceAddress(const uint8_t Address) ATTR_ALWAYS_INLINE;
|
||||
static inline void USB_Device_EnableDeviceAddress(const uint8_t Address)
|
||||
{
|
||||
UDADDR |= (1 << ADDEN);
|
||||
(void)Address;
|
||||
|
||||
UDADDR |= (1 << ADDEN);
|
||||
}
|
||||
|
||||
static inline bool USB_Device_IsAddressSet(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;
|
||||
|
|
|
@ -214,6 +214,8 @@
|
|||
static inline void USB_Device_EnableDeviceAddress(const uint8_t Address) ATTR_ALWAYS_INLINE;
|
||||
static inline void USB_Device_EnableDeviceAddress(const uint8_t Address)
|
||||
{
|
||||
(void)Address;
|
||||
|
||||
AVR32_USBB.UDCON.adden = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -205,6 +205,8 @@
|
|||
static inline void USB_Device_SetDeviceAddress(const uint8_t Address) ATTR_ALWAYS_INLINE;
|
||||
static inline void USB_Device_SetDeviceAddress(const uint8_t Address)
|
||||
{
|
||||
(void)Address;
|
||||
|
||||
/* No implementation for XMEGA architecture */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue