Suppress unused function parameter warnings in the USB driver.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user