|
|
@ -68,8 +68,8 @@ void matrix_init(void) {
|
|
|
|
palSetPadMode(GPIOA, 15, PAL_MODE_INPUT_PULLDOWN);
|
|
|
|
palSetPadMode(GPIOA, 15, PAL_MODE_INPUT_PULLDOWN);
|
|
|
|
palSetPadMode(GPIOA, 10, PAL_MODE_INPUT_PULLDOWN);
|
|
|
|
palSetPadMode(GPIOA, 10, PAL_MODE_INPUT_PULLDOWN);
|
|
|
|
|
|
|
|
|
|
|
|
memset(matrix, 0, MATRIX_ROWS);
|
|
|
|
memset(matrix, 0, MATRIX_ROWS * sizeof(matrix_row_t));
|
|
|
|
memset(matrix_debouncing, 0, MATRIX_COLS);
|
|
|
|
memset(matrix_debouncing, 0, MATRIX_COLS * sizeof(matrix_row_t));
|
|
|
|
|
|
|
|
|
|
|
|
/* Setup capslock */
|
|
|
|
/* Setup capslock */
|
|
|
|
// palSetPadMode(GPIOB, 7, PAL_MODE_OUTPUT_PUSHPULL);
|
|
|
|
// palSetPadMode(GPIOB, 7, PAL_MODE_OUTPUT_PUSHPULL);
|
|
|
|