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/command.c | |
parent | 9de9d719527c7a8cac71d0bc49ba1d2d4f63cf06 (diff) |
Add support for backlight
Diffstat (limited to 'common/command.c')
-rw-r--r-- | common/command.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/command.c b/common/command.c index 73a72b4a1d..bcf1b4937f 100644 --- a/common/command.c +++ b/common/command.c @@ -31,6 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "sleep_led.h" #include "led.h" #include "command.h" +#include "backlight.h" #ifdef MOUSEKEY_ENABLE #include "mousekey.h" @@ -149,6 +150,12 @@ static void print_eeconfig(void) print(".no_gui: "); print_dec(kc.no_gui); print("\n"); print(".swap_grave_esc: "); print_dec(kc.swap_grave_esc); print("\n"); print(".swap_backslash_backspace: "); print_dec(kc.swap_backslash_backspace); print("\n"); + + backlight_config_t bc; + bc.raw = eeconfig_read_backlight(); + print("backlight_config.raw: "); print_hex8(bc.raw); print("\n"); + print(".enable: "); print_dec(bc.enable); print("\n"); + print(".level: "); print_dec(bc.level); print("\n"); } #endif |