[Core] Remove matrix_is_modified() and debounce_is_active() (#15349)

This commit is contained in:
Stefan Kerkmann
2021-11-29 17:22:10 +01:00
committed by GitHub
parent a3e9b347ec
commit c1297ceb97
52 changed files with 0 additions and 298 deletions

View File

@@ -165,7 +165,6 @@ static void transfer_matrix_values(matrix_row_t raw[], matrix_row_t cooked[], ui
}
}
bool debounce_active(void) { return true; }
#else
# include "none.c"
#endif

View File

@@ -26,6 +26,4 @@ void debounce(matrix_row_t raw[], matrix_row_t cooked[], uint8_t num_rows, bool
}
}
bool debounce_active(void) { return false; }
void debounce_free(void) {}

View File

@@ -44,8 +44,6 @@ void debounce(matrix_row_t raw[], matrix_row_t cooked[], uint8_t num_rows, bool
}
}
bool debounce_active(void) { return debouncing; }
void debounce_free(void) {}
#else // no debouncing.
# include "none.c"

View File

@@ -134,7 +134,6 @@ static void start_debounce_counters(matrix_row_t raw[], matrix_row_t cooked[], u
}
}
bool debounce_active(void) { return true; }
#else
# include "none.c"
#endif

View File

@@ -140,7 +140,6 @@ static void transfer_matrix_values(matrix_row_t raw[], matrix_row_t cooked[], ui
}
}
bool debounce_active(void) { return true; }
#else
# include "none.c"
#endif

View File

@@ -132,7 +132,6 @@ static void transfer_matrix_values(matrix_row_t raw[], matrix_row_t cooked[], ui
}
}
bool debounce_active(void) { return true; }
#else
# include "none.c"
#endif