diff options
Diffstat (limited to 'common/bootmagic.c')
| -rw-r--r-- | common/bootmagic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bootmagic.c b/common/bootmagic.c index 642d5face..b002a5856 100644 --- a/common/bootmagic.c +++ b/common/bootmagic.c | |||
| @@ -111,7 +111,7 @@ static bool scan_keycode(uint8_t keycode) | |||
| 111 | matrix_row_t matrix_row = matrix_get_row(r); | 111 | matrix_row_t matrix_row = matrix_get_row(r); |
| 112 | for (uint8_t c = 0; c < MATRIX_COLS; c++) { | 112 | for (uint8_t c = 0; c < MATRIX_COLS; c++) { |
| 113 | if (matrix_row & ((matrix_row_t)1<<c)) { | 113 | if (matrix_row & ((matrix_row_t)1<<c)) { |
| 114 | if (keycode == keymap_key_to_keycode(0, (key_t){ .row = r, .col = c })) { | 114 | if (keycode == keymap_key_to_keycode(0, (keypos_t){ .row = r, .col = c })) { |
| 115 | return true; | 115 | return true; |
| 116 | } | 116 | } |
| 117 | } | 117 | } |
