diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-01-27 19:48:29 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-01-27 19:48:29 +0000 |
commit | da42e8840d760b79462071ff84cdce4ff823ad2c (patch) | |
tree | fa21b7f6a318b3a78c785c3c445d45ca7b1d693b /LUFA/Drivers/USB/Core/AVR8 | |
parent | fb18c315d02303e3f32fda41fcde3b16e747f10b (diff) | |
download | lufa-da42e8840d760b79462071ff84cdce4ff823ad2c.tar.gz lufa-da42e8840d760b79462071ff84cdce4ff823ad2c.tar.bz2 lufa-da42e8840d760b79462071ff84cdce4ff823ad2c.zip |
Suppress unused function parameter warnings in the USB driver.
Diffstat (limited to 'LUFA/Drivers/USB/Core/AVR8')
-rw-r--r-- | LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h b/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h index a2a2ddf0e..a0dba7bc5 100644 --- a/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h +++ b/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h @@ -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; |