aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Board
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-03-17 10:21:40 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-03-17 10:21:40 +0000
commit1971a415e5cfb7f9444745124681ce7f0248e704 (patch)
tree2aba999479f51e481bee77fc357c692a516cc795 /LUFA/Drivers/Board
parentf87aec2264087c5e72bb013451540950f2a076f8 (diff)
downloadlufa-1971a415e5cfb7f9444745124681ce7f0248e704.tar.gz
lufa-1971a415e5cfb7f9444745124681ce7f0248e704.tar.bz2
lufa-1971a415e5cfb7f9444745124681ce7f0248e704.zip
Fixed compile error if LEDs_Disable() is called and BOARD=NONE is set (thanks to Sam Lin).
Diffstat (limited to 'LUFA/Drivers/Board')
-rw-r--r--LUFA/Drivers/Board/LEDs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/LUFA/Drivers/Board/LEDs.h b/LUFA/Drivers/Board/LEDs.h
index 3fa54b099..46589c28d 100644
--- a/LUFA/Drivers/Board/LEDs.h
+++ b/LUFA/Drivers/Board/LEDs.h
@@ -109,6 +109,7 @@
#if (BOARD == BOARD_NONE)
static inline void LEDs_Init(void) {};
+ static inline void LEDs_Disable(void) {};
static inline void LEDs_TurnOnLEDs(const uint_reg_t LEDMask) {};
static inline void LEDs_TurnOffLEDs(const uint_reg_t LEDMask) {};
static inline void LEDs_SetAllLEDs(const uint_reg_t LEDMask) {};