diff options
author | Andrew Dunai <andunai@gmail.com> | 2018-06-02 19:14:59 +0300 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-06-02 09:14:59 -0700 |
commit | 82500842f6bae2ced179fe03348cbd91604bc09f (patch) | |
tree | ab85442501c704af3b588e71f040c321c7238000 /keyboards/lets_split | |
parent | a055a45b1319d08cd19fd397ac86a3daa200adda (diff) | |
download | firmware-82500842f6bae2ced179fe03348cbd91604bc09f.tar.gz firmware-82500842f6bae2ced179fe03348cbd91604bc09f.tar.bz2 firmware-82500842f6bae2ced179fe03348cbd91604bc09f.zip |
Add ability to write additional code in matrix scann loop on slave. (#3072)
Diffstat (limited to 'keyboards/lets_split')
-rw-r--r-- | keyboards/lets_split/matrix.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/lets_split/matrix.c b/keyboards/lets_split/matrix.c index 904850d4d..f753d234a 100644 --- a/keyboards/lets_split/matrix.c +++ b/keyboards/lets_split/matrix.c @@ -101,6 +101,10 @@ __attribute__ ((weak)) void matrix_scan_user(void) { } +__attribute__ ((weak)) +void matrix_slave_scan_user(void) { +} + inline uint8_t matrix_rows(void) { @@ -286,6 +290,7 @@ void matrix_slave_scan(void) { serial_slave_buffer[i] = matrix[offset+i]; } #endif + matrix_slave_scan_user(); } bool matrix_is_modified(void) |