diff options
author | Stefan Kerkmann <karlk90@pm.me> | 2021-11-29 17:22:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 08:22:10 -0800 |
commit | c1297ceb972d45407cc1f518fd0527efda7ee796 (patch) | |
tree | 6ef5fb395de5062f48089d948faea62d8cdf64ce /keyboards/dc01 | |
parent | a3e9b347ecbb55a58dfca4bb7a47e5abd21f6369 (diff) |
[Core] Remove matrix_is_modified() and debounce_is_active() (#15349)
Diffstat (limited to 'keyboards/dc01')
-rw-r--r-- | keyboards/dc01/arrow/matrix.c | 8 | ||||
-rw-r--r-- | keyboards/dc01/left/matrix.c | 8 | ||||
-rw-r--r-- | keyboards/dc01/numpad/matrix.c | 8 | ||||
-rw-r--r-- | keyboards/dc01/right/matrix.c | 8 |
4 files changed, 0 insertions, 32 deletions
diff --git a/keyboards/dc01/arrow/matrix.c b/keyboards/dc01/arrow/matrix.c index 0102ad0fa4..b69e147914 100644 --- a/keyboards/dc01/arrow/matrix.c +++ b/keyboards/dc01/arrow/matrix.c @@ -205,14 +205,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ -#if (DEBOUNCE > 0) - if (debouncing) return false; -#endif - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/dc01/left/matrix.c b/keyboards/dc01/left/matrix.c index bf5aba8497..084978a1fd 100644 --- a/keyboards/dc01/left/matrix.c +++ b/keyboards/dc01/left/matrix.c @@ -230,14 +230,6 @@ if (i2c_transaction(SLAVE_I2C_ADDRESS_NUMPAD, 0x1FFFF, 11)) { return 1; } -bool matrix_is_modified(void) -{ -#if (DEBOUNCE > 0) - if (debouncing) return false; -#endif - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/dc01/numpad/matrix.c b/keyboards/dc01/numpad/matrix.c index 38130114eb..e8e2a1b14a 100644 --- a/keyboards/dc01/numpad/matrix.c +++ b/keyboards/dc01/numpad/matrix.c @@ -205,14 +205,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ -#if (DEBOUNCE > 0) - if (debouncing) return false; -#endif - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/dc01/right/matrix.c b/keyboards/dc01/right/matrix.c index 544c8dc538..2509bd7d4c 100644 --- a/keyboards/dc01/right/matrix.c +++ b/keyboards/dc01/right/matrix.c @@ -206,14 +206,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ -#if (DEBOUNCE > 0) - if (debouncing) return false; -#endif - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { |