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 2c88b3e43..e4bc3dc8c 100644 --- a/common/keyboard.c +++ b/common/keyboard.c | |||
| @@ -85,7 +85,7 @@ void keyboard_task(void) | |||
| 85 | for (uint8_t c = 0; c < MATRIX_COLS; c++) { | 85 | for (uint8_t c = 0; c < MATRIX_COLS; c++) { |
| 86 | if (matrix_change & ((matrix_row_t)1<<c)) { | 86 | if (matrix_change & ((matrix_row_t)1<<c)) { |
| 87 | action_exec((keyevent_t){ | 87 | action_exec((keyevent_t){ |
| 88 | .key.pos = (keypos_t){ .row = r, .col = c }, | 88 | .key = (key_t){ .row = r, .col = c }, |
| 89 | .pressed = (matrix_row & (1<<c)), | 89 | .pressed = (matrix_row & (1<<c)), |
| 90 | .time = (timer_read() | 1) /* time should not be 0 */ | 90 | .time = (timer_read() | 1) /* time should not be 0 */ |
| 91 | }); | 91 | }); |
