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) | |
| download | qmk_firmware-1eb8523e9506c752fb726208d8853a82f06e6659.tar.gz qmk_firmware-1eb8523e9506c752fb726208d8853a82f06e6659.zip | |
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 73a72b4a1..bcf1b4937 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/>. | |||
| 31 | #include "sleep_led.h" | 31 | #include "sleep_led.h" |
| 32 | #include "led.h" | 32 | #include "led.h" |
| 33 | #include "command.h" | 33 | #include "command.h" |
| 34 | #include "backlight.h" | ||
| 34 | 35 | ||
| 35 | #ifdef MOUSEKEY_ENABLE | 36 | #ifdef MOUSEKEY_ENABLE |
| 36 | #include "mousekey.h" | 37 | #include "mousekey.h" |
| @@ -149,6 +150,12 @@ static void print_eeconfig(void) | |||
| 149 | print(".no_gui: "); print_dec(kc.no_gui); print("\n"); | 150 | print(".no_gui: "); print_dec(kc.no_gui); print("\n"); |
| 150 | print(".swap_grave_esc: "); print_dec(kc.swap_grave_esc); print("\n"); | 151 | print(".swap_grave_esc: "); print_dec(kc.swap_grave_esc); print("\n"); |
| 151 | print(".swap_backslash_backspace: "); print_dec(kc.swap_backslash_backspace); print("\n"); | 152 | print(".swap_backslash_backspace: "); print_dec(kc.swap_backslash_backspace); print("\n"); |
| 153 | |||
| 154 | backlight_config_t bc; | ||
| 155 | bc.raw = eeconfig_read_backlight(); | ||
| 156 | print("backlight_config.raw: "); print_hex8(bc.raw); print("\n"); | ||
| 157 | print(".enable: "); print_dec(bc.enable); print("\n"); | ||
| 158 | print(".level: "); print_dec(bc.level); print("\n"); | ||
| 152 | } | 159 | } |
| 153 | #endif | 160 | #endif |
| 154 | 161 | ||
