summaryrefslogtreecommitdiff
path: root/keyboards/hhkb
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2021-11-29 17:22:10 +0100
committerGitHub <noreply@github.com>2021-11-29 08:22:10 -0800
commitc1297ceb972d45407cc1f518fd0527efda7ee796 (patch)
tree6ef5fb395de5062f48089d948faea62d8cdf64ce /keyboards/hhkb
parenta3e9b347ecbb55a58dfca4bb7a47e5abd21f6369 (diff)
downloadqmk_firmware-c1297ceb972d45407cc1f518fd0527efda7ee796.tar.gz
qmk_firmware-c1297ceb972d45407cc1f518fd0527efda7ee796.zip
[Core] Remove matrix_is_modified() and debounce_is_active() (#15349)
Diffstat (limited to 'keyboards/hhkb')
-rw-r--r--keyboards/hhkb/ansi/matrix.c9
-rw-r--r--keyboards/hhkb/jp/matrix.c9
2 files changed, 0 insertions, 18 deletions
diff --git a/keyboards/hhkb/ansi/matrix.c b/keyboards/hhkb/ansi/matrix.c
index 529ba8b8fc..5dde74cce9 100644
--- a/keyboards/hhkb/ansi/matrix.c
+++ b/keyboards/hhkb/ansi/matrix.c
@@ -163,15 +163,6 @@ uint8_t matrix_scan(void)
return 1;
}
-bool matrix_is_modified(void)
-{
- for (uint8_t i = 0; i < MATRIX_ROWS; i++) {
- if (matrix[i] != matrix_prev[i])
- return true;
- }
- return false;
-}
-
inline
bool matrix_has_ghost(void)
{
diff --git a/keyboards/hhkb/jp/matrix.c b/keyboards/hhkb/jp/matrix.c
index c0dca6a990..81db77fca7 100644
--- a/keyboards/hhkb/jp/matrix.c
+++ b/keyboards/hhkb/jp/matrix.c
@@ -164,15 +164,6 @@ uint8_t matrix_scan(void)
return 1;
}
-bool matrix_is_modified(void)
-{
- for (uint8_t i = 0; i < MATRIX_ROWS; i++) {
- if (matrix[i] != matrix_prev[i])
- return true;
- }
- return false;
-}
-
inline
bool matrix_has_ghost(void)
{