Suppress unused function parameter warnings in the USB driver.
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 27 Jan 2013 19:48:29 +0000 (19:48 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 27 Jan 2013 19:48:29 +0000 (19:48 +0000)
LUFA/DoxygenPages/LUFAPoweredProjects.txt
LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h
LUFA/Drivers/USB/Core/UC3/Device_UC3.h
LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h

index 1854c16..ea3c29e 100644 (file)
@@ -38,6 +38,7 @@
  *  can be incorporated into many different applications.
  *
  *  \li Accelerometer Game Joystick: http://www.crictor.co.il/he/episodes/joystick/
  *  can be incorporated into many different applications.
  *
  *  \li Accelerometer Game Joystick: http://www.crictor.co.il/he/episodes/joystick/
+ *  \li Adjacent Reality Motion Tracker: http://www.adjacentreality.org/
  *  \li AD9833 based USB Function Generator: http://tuomasnylund.fi/drupal6/content/ad9833-based-usb-function-generator
  *  \li AERY development platform for the AVR32 devices: http://www.aery32.com/
  *  \li AM Radio transmitter: http://amcinnes.info/2012/uc_am_xmit/
  *  \li AD9833 based USB Function Generator: http://tuomasnylund.fi/drupal6/content/ad9833-based-usb-function-generator
  *  \li AERY development platform for the AVR32 devices: http://www.aery32.com/
  *  \li AM Radio transmitter: http://amcinnes.info/2012/uc_am_xmit/
index a2a2ddf..a0dba7b 100644 (file)
                        static inline void USB_Device_EnableDeviceAddress(const uint8_t Address) ATTR_ALWAYS_INLINE;
                        static inline void USB_Device_EnableDeviceAddress(const uint8_t Address)
                        {
                        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;
                        }
 
                        static inline bool USB_Device_IsAddressSet(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;
index 60a1e27..854e321 100644 (file)
                        static inline void USB_Device_EnableDeviceAddress(const uint8_t Address) ATTR_ALWAYS_INLINE;
                        static inline void USB_Device_EnableDeviceAddress(const uint8_t Address)
                        {
                        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;
                        }
 
                                AVR32_USBB.UDCON.adden = true;
                        }
 
index 6e2380a..7b82c7c 100644 (file)
                        static inline void USB_Device_SetDeviceAddress(const uint8_t Address) ATTR_ALWAYS_INLINE;
                        static inline void USB_Device_SetDeviceAddress(const uint8_t Address)
                        {
                        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 */
                        }
 
                                /* No implementation for XMEGA architecture */
                        }