diff options
Diffstat (limited to 'docs/custom_matrix.md')
| -rw-r--r-- | docs/custom_matrix.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/custom_matrix.md b/docs/custom_matrix.md index ef206944e1..294b88bb0b 100644 --- a/docs/custom_matrix.md +++ b/docs/custom_matrix.md | |||
| @@ -74,7 +74,7 @@ void matrix_init(void) { | |||
| 74 | // TODO: initialize hardware and global matrix state here | 74 | // TODO: initialize hardware and global matrix state here |
| 75 | 75 | ||
| 76 | // Unless hardware debouncing - Init the configured debounce routine | 76 | // Unless hardware debouncing - Init the configured debounce routine |
| 77 | debounce_init(MATRIX_ROWS); | 77 | debounce_init(); |
| 78 | 78 | ||
| 79 | // This *must* be called for correct keyboard behavior | 79 | // This *must* be called for correct keyboard behavior |
| 80 | matrix_init_kb(); | 80 | matrix_init_kb(); |
| @@ -86,7 +86,7 @@ uint8_t matrix_scan(void) { | |||
| 86 | // TODO: add matrix scanning routine here | 86 | // TODO: add matrix scanning routine here |
| 87 | 87 | ||
| 88 | // Unless hardware debouncing - use the configured debounce routine | 88 | // Unless hardware debouncing - use the configured debounce routine |
| 89 | changed = debounce(raw_matrix, matrix, MATRIX_ROWS, changed); | 89 | changed = debounce(raw_matrix, matrix, changed); |
| 90 | 90 | ||
| 91 | // This *must* be called for correct keyboard behavior | 91 | // This *must* be called for correct keyboard behavior |
| 92 | matrix_scan_kb(); | 92 | matrix_scan_kb(); |
