aboutsummaryrefslogtreecommitdiff
path: root/quantum/split_common/split_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/split_common/split_util.c')
-rw-r--r--quantum/split_common/split_util.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c
index 56077e4f2..e4475c535 100644
--- a/quantum/split_common/split_util.c
+++ b/quantum/split_common/split_util.c
@@ -11,9 +11,6 @@
11#include "timer.h" 11#include "timer.h"
12#include "split_flags.h" 12#include "split_flags.h"
13 13
14#ifdef RGBLIGHT_ENABLE
15# include "rgblight.h"
16#endif
17#ifdef BACKLIGHT_ENABLE 14#ifdef BACKLIGHT_ENABLE
18# include "backlight.h" 15# include "backlight.h"
19#endif 16#endif
@@ -24,8 +21,6 @@
24 21
25#if defined(USE_I2C) || defined(EH) 22#if defined(USE_I2C) || defined(EH)
26# include "i2c.h" 23# include "i2c.h"
27#else
28# include "serial.h"
29#endif 24#endif
30 25
31volatile bool isLeftHand = true; 26volatile bool isLeftHand = true;
@@ -112,7 +107,7 @@ void keyboard_slave_loop(void) {
112 BACKLIT_DIRTY = false; 107 BACKLIT_DIRTY = false;
113 } 108 }
114 #else // USE_SERIAL 109 #else // USE_SERIAL
115 backlight_set(serial_master_buffer[SERIAL_BACKLIT_START]); 110 backlight_set(serial_m2s_buffer.backlight_level);
116 #endif 111 #endif
117 #endif 112 #endif
118 // Read RGB Info 113 // Read RGB Info
@@ -137,7 +132,9 @@ void keyboard_slave_loop(void) {
137 sei(); 132 sei();
138 } 133 }
139 #else // USE_SERIAL 134 #else // USE_SERIAL
135 #ifdef RGBLIGHT_SPLIT
140 // Add serial implementation for RGB here 136 // Add serial implementation for RGB here
137 #endif
141 #endif 138 #endif
142 #endif 139 #endif
143 } 140 }