summaryrefslogtreecommitdiff
path: root/common/keyboard.c
diff options
context:
space:
mode:
authorWraul <wraul@dbox.se>2013-05-30 20:24:39 +0200
committertmk <nobody@nowhere>2013-06-22 17:23:36 +0900
commit1eb8523e9506c752fb726208d8853a82f06e6659 (patch)
tree999363ab141da73f3e59f2edf7d2778b298aef5f /common/keyboard.c
parent9de9d719527c7a8cac71d0bc49ba1d2d4f63cf06 (diff)
Add support for backlight
Diffstat (limited to 'common/keyboard.c')
-rw-r--r--common/keyboard.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/keyboard.c b/common/keyboard.c
index 6bc6fae6e2..d1821a099f 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/>.
#include "bootmagic.h"
#include "eeconfig.h"
#include "mousekey.h"
+#include "backlight.h"
#ifdef MATRIX_HAS_GHOST
@@ -65,6 +66,10 @@ void keyboard_init(void)
#ifdef BOOTMAGIC_ENABLE
bootmagic();
#endif
+
+#ifdef BACKLIGHT_ENABLE
+ backlight_init();
+#endif
}
/*