Commit 1971a415 authored by Dean Camera's avatar Dean Camera
Browse files

Fixed compile error if LEDs_Disable() is called and BOARD=NONE is set (thanks to Sam Lin).

parent f87aec22
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
* the host state machine * the host state machine
* - Fixed incorrect call to the user callback CALLBACK_Audio_Device_GetSetInterfaceProperty() in the Audio Class device driver (thanks to Tiit Ratsep) * - Fixed incorrect call to the user callback CALLBACK_Audio_Device_GetSetInterfaceProperty() in the Audio Class device driver (thanks to Tiit Ratsep)
* - Fixed compile error for the UC3 architecture when INTERRUPT_CONTROL_ENDPOINT is specified (thanks to Andrus Aaslaid) * - Fixed compile error for the UC3 architecture when INTERRUPT_CONTROL_ENDPOINT is specified (thanks to Andrus Aaslaid)
* - Fixed compile error if LEDs_Disable() is called and BOARD=NONE is set (thanks to Sam Lin)
* - Library Applications: * - Library Applications:
* - None * - None
* *
......
...@@ -109,6 +109,7 @@ ...@@ -109,6 +109,7 @@
#if (BOARD == BOARD_NONE) #if (BOARD == BOARD_NONE)
static inline void LEDs_Init(void) {}; 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_TurnOnLEDs(const uint_reg_t LEDMask) {};
static inline void LEDs_TurnOffLEDs(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) {}; static inline void LEDs_SetAllLEDs(const uint_reg_t LEDMask) {};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment