annepro2: fix matrix

This commit is contained in:
bwisn
2021-09-15 09:39:38 +02:00
parent 6e08944570
commit 5ebfacb99f
2 changed files with 3 additions and 6 deletions
+3
View File
@@ -29,6 +29,9 @@ extern uint16_t annepro2LedMatrix[MATRIX_ROWS * MATRIX_COLS];
extern ble_capslock_t BLECapsLock;
/* System clock - needed for custom matrix lite */
#define STM32_SYSCLK HT32_CK_SYS_FREQUENCY
// Matrix keymap
// clang-format off
#define LAYOUT( \
-6
View File
@@ -80,9 +80,3 @@ uint8_t matrix_scan_custom(void) {
}
return matrix_has_changed;
}
bool matrix_is_on(uint8_t row, uint8_t col) { return (matrix[row] & (1 << col)); }
matrix_row_t matrix_get_row(uint8_t row) { return matrix[row]; }
void matrix_print(void) {}