core: Add matrix_clear() and default impl.

This commit is contained in:
tmk 2016-10-05 13:55:56 +09:00
parent 1a7d1f9f4d
commit f76a786b93
6 changed files with 105 additions and 5 deletions

View file

@ -57,7 +57,12 @@ bool matrix_is_on(uint8_t row, uint8_t col);
matrix_row_t matrix_get_row(uint8_t row);
/* print matrix for debug */
void matrix_print(void);
/* clear matrix */
void matrix_clear(void);
#ifdef MATRIX_HAS_GHOST
bool matrix_has_ghost_in_row(uint8_t row);
#endif
/* power control */
void matrix_power_up(void);