summaryrefslogtreecommitdiff
path: root/common/command.c
diff options
context:
space:
mode:
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