mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-02 06:49:16 +02:00
annepro2: fix matrix
This commit is contained in:
@@ -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( \
|
||||
|
||||
@@ -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) {}
|
||||
|
||||
Reference in New Issue
Block a user