diff options
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r-- | quantum/quantum.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h index b1600dd72..7c2dcaa82 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h | |||
@@ -30,11 +30,11 @@ | |||
30 | #include "keymap.h" | 30 | #include "keymap.h" |
31 | 31 | ||
32 | #ifdef BACKLIGHT_ENABLE | 32 | #ifdef BACKLIGHT_ENABLE |
33 | # ifdef LED_MATRIX_ENABLE | 33 | # include "backlight.h" |
34 | # include "led_matrix.h" | 34 | #endif |
35 | # else | 35 | |
36 | # include "backlight.h" | 36 | #ifdef LED_MATRIX_ENABLE |
37 | # endif | 37 | # include "led_matrix.h" |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #if defined(RGBLIGHT_ENABLE) | 40 | #if defined(RGBLIGHT_ENABLE) |
@@ -52,6 +52,7 @@ | |||
52 | #include "action_layer.h" | 52 | #include "action_layer.h" |
53 | #include "eeconfig.h" | 53 | #include "eeconfig.h" |
54 | #include "bootloader.h" | 54 | #include "bootloader.h" |
55 | #include "bootmagic.h" | ||
55 | #include "timer.h" | 56 | #include "timer.h" |
56 | #include "sync_timer.h" | 57 | #include "sync_timer.h" |
57 | #include "config_common.h" | 58 | #include "config_common.h" |
@@ -97,7 +98,7 @@ extern layer_state_t layer_state; | |||
97 | # include "process_music.h" | 98 | # include "process_music.h" |
98 | #endif | 99 | #endif |
99 | 100 | ||
100 | #ifdef BACKLIGHT_ENABLE | 101 | #if defined(BACKLIGHT_ENABLE) || defined(LED_MATRIX_ENABLE) |
101 | # include "process_backlight.h" | 102 | # include "process_backlight.h" |
102 | #endif | 103 | #endif |
103 | 104 | ||
@@ -258,15 +259,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record); | |||
258 | void post_process_record_kb(uint16_t keycode, keyrecord_t *record); | 259 | void post_process_record_kb(uint16_t keycode, keyrecord_t *record); |
259 | void post_process_record_user(uint16_t keycode, keyrecord_t *record); | 260 | void post_process_record_user(uint16_t keycode, keyrecord_t *record); |
260 | 261 | ||
261 | #ifndef BOOTMAGIC_LITE_COLUMN | ||
262 | # define BOOTMAGIC_LITE_COLUMN 0 | ||
263 | #endif | ||
264 | #ifndef BOOTMAGIC_LITE_ROW | ||
265 | # define BOOTMAGIC_LITE_ROW 0 | ||
266 | #endif | ||
267 | |||
268 | void bootmagic_lite(void); | ||
269 | |||
270 | void reset_keyboard(void); | 262 | void reset_keyboard(void); |
271 | 263 | ||
272 | void startup_user(void); | 264 | void startup_user(void); |