Make bluetooth SDP code correctly unpack the search UUIDs and parameters.
[pub/USBasp.git] / LUFA / Drivers / Board / USBKEY / LEDs.h
index 0864be8..03d3933 100644 (file)
@@ -29,6 +29,7 @@
 */\r
 \r
 /** \file\r
+ *  \brief Board specific LED driver header for the USBKEY.\r
  *\r
  *  Board specific LED driver header for the USBKEY.\r
  *\r
                                PORTD &= ~LEDS_ALL_LEDS;\r
                        }\r
                        \r
-                       static inline void LEDs_TurnOnLEDs(const uintN_t LEDMask)\r
+                       static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask)\r
                        {\r
                                PORTD |= LEDMask;\r
                        }\r
 \r
-                       static inline void LEDs_TurnOffLEDs(const uintN_t LEDMask)\r
+                       static inline void LEDs_TurnOffLEDs(const uint8_t LEDMask)\r
                        {\r
                                PORTD &= ~LEDMask;\r
                        }\r
 \r
-                       static inline void LEDs_SetAllLEDs(const uintN_t LEDMask)\r
+                       static inline void LEDs_SetAllLEDs(const uint8_t LEDMask)\r
                        {\r
                                PORTD = ((PORTD & ~LEDS_ALL_LEDS) | LEDMask);\r
                        }\r
                        \r
-                       static inline void LEDs_ChangeLEDs(const uintN_t LEDMask, const uintN_t ActiveMask)\r
+                       static inline void LEDs_ChangeLEDs(const uint8_t LEDMask, const uint8_t ActiveMask)\r
                        {\r
                                PORTD = ((PORTD & ~LEDMask) | ActiveMask);\r
                        }\r
                        \r
-                       static inline void LEDs_ToggleLEDs(const uintN_t LEDMask)\r
+                       static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)\r
                        {\r
                                PORTD = (PORTD ^ (LEDMask & LEDS_ALL_LEDS));\r
                        }\r
                        \r
-                       static inline uintN_t LEDs_GetLEDs(void)\r
+                       static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;\r
+                       static inline uint8_t LEDs_GetLEDs(void)\r
                        {\r
                                return (PORTD & LEDS_ALL_LEDS);\r
                        }\r