aboutsummaryrefslogtreecommitdiff
path: root/keyboards/frosty_flake/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/frosty_flake/matrix.c')
-rw-r--r--keyboards/frosty_flake/matrix.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/frosty_flake/matrix.c b/keyboards/frosty_flake/matrix.c
index 05dffdb64..cde7f63b9 100644
--- a/keyboards/frosty_flake/matrix.c
+++ b/keyboards/frosty_flake/matrix.c
@@ -115,6 +115,7 @@ inline matrix_row_t matrix_get_row(uint8_t row) {
115} 115}
116 116
117void matrix_print(void) { 117void matrix_print(void) {
118#ifndef NO_PRINT
118 print("\nr\\c ABCDEFGHIJKLMNOPQR\n"); 119 print("\nr\\c ABCDEFGHIJKLMNOPQR\n");
119 for (uint8_t row = 0; row < MATRIX_ROWS; row++) { 120 for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
120 matrix_row_t matrix_row = matrix_get_row(row); 121 matrix_row_t matrix_row = matrix_get_row(row);
@@ -125,6 +126,7 @@ void matrix_print(void) {
125 } 126 }
126 print("\n"); 127 print("\n");
127 } 128 }
129#endif
128} 130}
129 131
130uint8_t matrix_key_count(void) { 132uint8_t matrix_key_count(void) {
@@ -132,4 +134,4 @@ uint8_t matrix_key_count(void) {
132 for (uint8_t row = 0; row < MATRIX_ROWS; row++) 134 for (uint8_t row = 0; row < MATRIX_ROWS; row++)
133 count += bitpop32(matrix[row]); 135 count += bitpop32(matrix[row]);
134 return count; 136 return count;
135} \ No newline at end of file 137}