diff options
| author | Wraul <wraul@dbox.se> | 2013-05-30 20:24:39 +0200 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2013-06-22 17:23:36 +0900 |
| commit | 1eb8523e9506c752fb726208d8853a82f06e6659 (patch) | |
| tree | 999363ab141da73f3e59f2edf7d2778b298aef5f /common/keyboard.c | |
| parent | 9de9d719527c7a8cac71d0bc49ba1d2d4f63cf06 (diff) | |
| download | qmk_firmware-1eb8523e9506c752fb726208d8853a82f06e6659.tar.gz qmk_firmware-1eb8523e9506c752fb726208d8853a82f06e6659.zip | |
Add support for backlight
Diffstat (limited to 'common/keyboard.c')
| -rw-r--r-- | common/keyboard.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/keyboard.c b/common/keyboard.c index 6bc6fae6e..d1821a099 100644 --- a/common/keyboard.c +++ b/common/keyboard.c | |||
| @@ -31,6 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | #include "bootmagic.h" | 31 | #include "bootmagic.h" |
| 32 | #include "eeconfig.h" | 32 | #include "eeconfig.h" |
| 33 | #include "mousekey.h" | 33 | #include "mousekey.h" |
| 34 | #include "backlight.h" | ||
| 34 | 35 | ||
| 35 | 36 | ||
| 36 | #ifdef MATRIX_HAS_GHOST | 37 | #ifdef MATRIX_HAS_GHOST |
| @@ -65,6 +66,10 @@ void keyboard_init(void) | |||
| 65 | #ifdef BOOTMAGIC_ENABLE | 66 | #ifdef BOOTMAGIC_ENABLE |
| 66 | bootmagic(); | 67 | bootmagic(); |
| 67 | #endif | 68 | #endif |
| 69 | |||
| 70 | #ifdef BACKLIGHT_ENABLE | ||
| 71 | backlight_init(); | ||
| 72 | #endif | ||
| 68 | } | 73 | } |
| 69 | 74 | ||
| 70 | /* | 75 | /* |
