diff options
Diffstat (limited to 'quantum/split_common/matrix.c')
| -rw-r--r-- | quantum/split_common/matrix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/quantum/split_common/matrix.c b/quantum/split_common/matrix.c index d6636b886..f8de17809 100644 --- a/quantum/split_common/matrix.c +++ b/quantum/split_common/matrix.c | |||
| @@ -43,6 +43,7 @@ extern matrix_row_t matrix[MATRIX_ROWS]; // debounced values | |||
| 43 | uint8_t thisHand, thatHand; | 43 | uint8_t thisHand, thatHand; |
| 44 | 44 | ||
| 45 | // user-defined overridable functions | 45 | // user-defined overridable functions |
| 46 | __attribute__((weak)) void matrix_slave_scan_kb(void) { matrix_slave_scan_user(); } | ||
| 46 | __attribute__((weak)) void matrix_slave_scan_user(void) {} | 47 | __attribute__((weak)) void matrix_slave_scan_user(void) {} |
| 47 | 48 | ||
| 48 | static inline void setPinOutput_writeLow(pin_t pin) { | 49 | static inline void setPinOutput_writeLow(pin_t pin) { |
| @@ -284,7 +285,7 @@ bool matrix_post_scan(void) { | |||
| 284 | } else { | 285 | } else { |
| 285 | transport_slave(matrix + thatHand, matrix + thisHand); | 286 | transport_slave(matrix + thatHand, matrix + thisHand); |
| 286 | 287 | ||
| 287 | matrix_slave_scan_user(); | 288 | matrix_slave_scan_kb(); |
| 288 | } | 289 | } |
| 289 | 290 | ||
| 290 | return changed; | 291 | return changed; |
