summaryrefslogtreecommitdiff
path: root/keyboards/jian/rev1
diff options
context:
space:
mode:
authorKgOfHedgehogs <kgofhedgehogs@gmail.com>2020-10-23 05:16:33 +0200
committerGitHub <noreply@github.com>2020-10-22 20:16:33 -0700
commit8cbaea9e8d00b959ccb1b474fa8a81417b651de2 (patch)
tree7ac67cc5170ae05d2371ded82601c92d656f8824 /keyboards/jian/rev1
parente7d8ccdbb2c14af9cf37be680af1d8633729b65a (diff)
downloadqmk_firmware-8cbaea9e8d00b959ccb1b474fa8a81417b651de2.tar.gz
qmk_firmware-8cbaea9e8d00b959ccb1b474fa8a81417b651de2.zip
[Keyboard] Fix jian backlight related ifdefs (#10679)
* Add jian backlight enabled ifdefs * Fix adavnced layout LAYOUT_dips usage
Diffstat (limited to 'keyboards/jian/rev1')
-rw-r--r--keyboards/jian/rev1/rev1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/jian/rev1/rev1.c b/keyboards/jian/rev1/rev1.c
index f1cfe99180..1c7e936270 100644
--- a/keyboards/jian/rev1/rev1.c
+++ b/keyboards/jian/rev1/rev1.c
@@ -14,6 +14,7 @@ const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
};
#endif
+#ifdef BACKLIGHT_ENABLE
static bool backlight_was_toggled = false;
void suspend_power_down_kb(void) {
@@ -29,6 +30,7 @@ void suspend_wakeup_init_kb(void) {
backlight_was_toggled = false;
}
}
+#endif
#ifdef PHYSICAL_LEDS_ENABLE
void led_init_kb(void)