summaryrefslogtreecommitdiff
path: root/keyboards/frosty_flake/matrix.c
diff options
context:
space:
mode:
authordbroqua <dbroqua@mousur.org>2017-04-29 15:04:01 +0200
committerdbroqua <dbroqua@mousur.org>2017-04-29 15:04:01 +0200
commit7180e195e84aabf252fcadb2852644417ac1d663 (patch)
tree2a314ac51bf1399c09a394e76ba81a56c072e7d6 /keyboards/frosty_flake/matrix.c
parent838aae164568a1092ae269267f8d8772d3aba781 (diff)
parent584b804ee33d53102fef3b8cdd045bca4c47bf26 (diff)
Merge branch 'master' of https://github.com/Dbroqua/qmk_firmware
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 05dffdb643..cde7f63b95 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) {
}
void matrix_print(void) {
+#ifndef NO_PRINT
print("\nr\\c ABCDEFGHIJKLMNOPQR\n");
for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
matrix_row_t matrix_row = matrix_get_row(row);
@@ -125,6 +126,7 @@ void matrix_print(void) {
}
print("\n");
}
+#endif
}
uint8_t matrix_key_count(void) {
@@ -132,4 +134,4 @@ uint8_t matrix_key_count(void) {
for (uint8_t row = 0; row < MATRIX_ROWS; row++)
count += bitpop32(matrix[row]);
return count;
-} \ No newline at end of file
+}