summaryrefslogtreecommitdiff
path: root/keyboards/jian/rev2
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/jian/rev2')
-rw-r--r--keyboards/jian/rev2/rev2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/jian/rev2/rev2.c b/keyboards/jian/rev2/rev2.c
index 6f4808de73..09824c6652 100644
--- a/keyboards/jian/rev2/rev2.c
+++ b/keyboards/jian/rev2/rev2.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)