X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=inline;f=tmk_core%2Fcommon%2Fkeyboard.c;h=0eb28418dbe13f2753bf1c244fe6a89750cb7658;hb=12e5a3a13eb86852ad58c131e28ba29c5f09bb2d;hp=b0319369d0f590a9f3f87761ec74f1d93ab53ba2;hpb=024f0c8d3881828a173a7a335c7ffafa0eee0908;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c index b0319369..0eb28418 100644 --- a/tmk_core/common/keyboard.c +++ b/tmk_core/common/keyboard.c @@ -93,7 +93,7 @@ void keyboard_init(void) } /* - * Do keyboard routine jobs: scan mantrix, light LEDs, ... + * Do keyboard routine jobs: scan matrix, light LEDs, ... * This is repeatedly called as fast as possible. */ void keyboard_task(void) @@ -126,19 +126,22 @@ void keyboard_task(void) matrix_ghost[r] = matrix_row; #endif if (debug_matrix) matrix_print(); - for (uint8_t c = 0; c < MATRIX_COLS; c++) { - if (matrix_change & ((matrix_row_t)1<