aboutsummaryrefslogtreecommitdiff
path: root/quantum/split_common/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/split_common/matrix.c')
-rw-r--r--quantum/split_common/matrix.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/quantum/split_common/matrix.c b/quantum/split_common/matrix.c
index 071f0481a..5e5475f44 100644
--- a/quantum/split_common/matrix.c
+++ b/quantum/split_common/matrix.c
@@ -286,6 +286,16 @@ int serial_transaction(void) {
286 for (int i = 0; i < ROWS_PER_HAND; ++i) { 286 for (int i = 0; i < ROWS_PER_HAND; ++i) {
287 matrix[slaveOffset+i] = serial_slave_buffer[i]; 287 matrix[slaveOffset+i] = serial_slave_buffer[i];
288 } 288 }
289
290 #ifdef RGBLIGHT_ENABLE
291 // Code to send RGB over serial goes here (not implemented yet)
292 #endif
293
294 #ifdef BACKLIGHT_ENABLE
295 // Write backlight level for slave to read
296 serial_master_buffer[SERIAL_BACKLIT_START] = backlight_config.enable ? backlight_config.level : 0;
297 #endif
298
289 return 0; 299 return 0;
290} 300}
291#endif 301#endif