diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-05-17 20:34:13 +0200 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-05-17 20:34:13 +0200 |
commit | 85a0e75c602a4f86b72664ee4cfe85f026f3a64d (patch) | |
tree | 47daa0c44f8f7e502b05c46322b32f55ba777c26 /BuildTests/BoardDriverTest/Board/LEDs.h | |
parent | c8f226980499d8e5b0b3d361dc986e2759dcaacb (diff) | |
download | lufa-85a0e75c602a4f86b72664ee4cfe85f026f3a64d.tar.gz lufa-85a0e75c602a4f86b72664ee4cfe85f026f3a64d.tar.bz2 lufa-85a0e75c602a4f86b72664ee4cfe85f026f3a64d.zip |
Improve the BoardDriver build test, check for mismatches board hardware support macros or missing driver macros.
Diffstat (limited to 'BuildTests/BoardDriverTest/Board/LEDs.h')
-rw-r--r-- | BuildTests/BoardDriverTest/Board/LEDs.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/BuildTests/BoardDriverTest/Board/LEDs.h b/BuildTests/BoardDriverTest/Board/LEDs.h index cdb057d1d..4857857c7 100644 --- a/BuildTests/BoardDriverTest/Board/LEDs.h +++ b/BuildTests/BoardDriverTest/Board/LEDs.h @@ -57,17 +57,19 @@ #error Do not include this file directly. Include LUFA/Drivers/Board/LEDS.h instead. #endif + #define BOARD_DUMMY_LEDS_IMPLEMENTATION + /* Public Interface - May be used in end-application: */ /* Macros: */ /** LED mask for the first LED on the board. */ #define LEDS_LED1 (1 << 0) - + /** LED mask for the second LED on the board. */ #define LEDS_LED2 (1 << 1) /** LED mask for the third LED on the board. */ #define LEDS_LED3 (1 << 2) - + /** LED mask for the fourth LED on the board. */ #define LEDS_LED4 (1 << 3) @@ -81,37 +83,37 @@ #if !defined(__DOXYGEN__) static inline void LEDs_Init(void) { - + } static inline void LEDs_Disable(void) { - + } static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask) { - + } static inline void LEDs_TurnOffLEDs(const uint8_t LEDMask) { - + } static inline void LEDs_SetAllLEDs(const uint8_t LEDMask) { - + } static inline void LEDs_ChangeLEDs(const uint8_t LEDMask, const uint8_t ActiveMask) { - + } static inline void LEDs_ToggleLEDs(const uint8_t LEDMask) { - + } static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT; |