summaryrefslogtreecommitdiff
path: root/common/command.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-06-23 08:14:40 +0900
committertmk <nobody@nowhere>2013-06-23 09:14:58 +0900
commit25ad212c4adae5a27dd2d5a4e9d6bcdfc17edb1b (patch)
tree7ed39e24295fbf853625a12fe273ea3ab4c7b202 /common/command.c
parent82aec4672213171b706f62862044b68d255bc4e9 (diff)
Add BACKLIGHT_ENABLE conditional
Diffstat (limited to 'common/command.c')
-rw-r--r--common/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/command.c b/common/command.c
index bcf1b4937f..4649e00ab0 100644
--- a/common/command.c
+++ b/common/command.c
@@ -151,11 +151,13 @@ static void print_eeconfig(void)
print(".swap_grave_esc: "); print_dec(kc.swap_grave_esc); print("\n");
print(".swap_backslash_backspace: "); print_dec(kc.swap_backslash_backspace); print("\n");
+#ifdef BACKLIGHT_ENABLE
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
}
#endif