diff options
Diffstat (limited to 'common/keyboard.c')
| -rw-r--r-- | common/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/keyboard.c b/common/keyboard.c index 2b66f20a0..b71d5bf13 100644 --- a/common/keyboard.c +++ b/common/keyboard.c | |||
| @@ -100,7 +100,7 @@ void keyboard_task(void) | |||
| 100 | for (uint8_t c = 0; c < MATRIX_COLS; c++) { | 100 | for (uint8_t c = 0; c < MATRIX_COLS; c++) { |
| 101 | if (matrix_change & ((matrix_row_t)1<<c)) { | 101 | if (matrix_change & ((matrix_row_t)1<<c)) { |
| 102 | action_exec((keyevent_t){ | 102 | action_exec((keyevent_t){ |
| 103 | .key = (key_t){ .row = r, .col = c }, | 103 | .key = (keypos_t){ .row = r, .col = c }, |
| 104 | .pressed = (matrix_row & ((matrix_row_t)1<<c)), | 104 | .pressed = (matrix_row & ((matrix_row_t)1<<c)), |
| 105 | .time = (timer_read() | 1) /* time should not be 0 */ | 105 | .time = (timer_read() | 1) /* time should not be 0 */ |
| 106 | }); | 106 | }); |
