[Core] Remove matrix_is_modified() and debounce_is_active() (#15349)
This commit is contained in:
@@ -58,8 +58,6 @@ static uint16_t disconnect_counter = 0;
|
||||
#define COL(code) ((code & COL_MASK) )
|
||||
#define KEYUP(code) ((code & KEY_MASK) >>7 )
|
||||
|
||||
static bool is_modified = false;
|
||||
|
||||
__attribute__ ((weak))
|
||||
void matrix_init_kb(void) {
|
||||
matrix_init_user();
|
||||
@@ -354,11 +352,6 @@ uint8_t matrix_scan(void)
|
||||
return code;
|
||||
}
|
||||
|
||||
bool matrix_is_modified(void)
|
||||
{
|
||||
return is_modified;
|
||||
}
|
||||
|
||||
inline
|
||||
bool matrix_has_ghost(void)
|
||||
{
|
||||
|
@@ -38,8 +38,6 @@ static uint8_t matrix[MATRIX_ROWS];
|
||||
#define ROW(code) ((code>>3)&0xF)
|
||||
#define COL(code) (code&0x07)
|
||||
|
||||
static bool is_modified = false;
|
||||
|
||||
__attribute__ ((weak))
|
||||
void matrix_init_kb(void) {
|
||||
matrix_init_user();
|
||||
@@ -154,11 +152,6 @@ uint8_t matrix_scan(void)
|
||||
return code;
|
||||
}
|
||||
|
||||
bool matrix_is_modified(void)
|
||||
{
|
||||
return is_modified;
|
||||
}
|
||||
|
||||
inline
|
||||
bool matrix_has_ghost(void)
|
||||
{
|
||||
|
@@ -192,10 +192,6 @@ extern "C"
|
||||
return 1;
|
||||
}
|
||||
|
||||
bool matrix_is_modified(void) {
|
||||
return matrix_is_mod;
|
||||
}
|
||||
|
||||
bool matrix_is_on(uint8_t row, uint8_t col) {
|
||||
uint8_t code = CODE(row, col);
|
||||
|
||||
|
Reference in New Issue
Block a user