diff options
Diffstat (limited to 'common/sleep_led.h')
| -rw-r--r-- | common/sleep_led.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/common/sleep_led.h b/common/sleep_led.h index aebdbeaa5..6bdcf558a 100644 --- a/common/sleep_led.h +++ b/common/sleep_led.h | |||
| @@ -1,10 +1,21 @@ | |||
| 1 | #ifndef SLEEP_LED_H | 1 | #ifndef SLEEP_LED_H |
| 2 | #define SLEEP_LED_H | 2 | #define SLEEP_LED_H |
| 3 | 3 | ||
| 4 | #define NO_SUSPEND_POWER_DOWN | 4 | |
| 5 | #ifdef SLEEP_LED_ENABLE | ||
| 5 | 6 | ||
| 6 | void sleep_led_init(void); | 7 | void sleep_led_init(void); |
| 7 | void sleep_led_enable(void); | 8 | void sleep_led_enable(void); |
| 8 | void sleep_led_disable(void); | 9 | void sleep_led_disable(void); |
| 10 | void sleep_led_toggle(void); | ||
| 11 | |||
| 12 | #else | ||
| 13 | |||
| 14 | #define sleep_led_init() | ||
| 15 | #define sleep_led_enable() | ||
| 16 | #define sleep_led_disable() | ||
| 17 | #define sleep_led_toggle() | ||
| 18 | |||
| 19 | #endif | ||
| 9 | 20 | ||
| 10 | #endif | 21 | #endif |
