diff options
| author | tmk <nobody@nowhere> | 2013-03-25 01:46:32 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2013-03-25 01:46:32 +0900 |
| commit | 2c0bb5e7e620b0472f110d2cbc5768bb6d97eec5 (patch) | |
| tree | b29845f872204470a011264ac5e5d7b6471cbfc5 /common/sleep_led.h | |
| parent | 1f19176867b1b1f760c0ec41cd78fbb6832d29ad (diff) | |
| download | qmk_firmware-2c0bb5e7e620b0472f110d2cbc5768bb6d97eec5.tar.gz qmk_firmware-2c0bb5e7e620b0472f110d2cbc5768bb6d97eec5.zip | |
Add common/suspend.c
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 |
