summaryrefslogtreecommitdiffstats
path: root/keyboards/frosty_flake/matrix.c
diff options
context:
space:
mode:
authorcoderkun <olli@coderkun.de>2017-05-06 12:19:45 +0200
committercoderkun <olli@coderkun.de>2017-05-06 12:19:45 +0200
commit49046f621bc8304c8c7ba7a065d2568f45ecc616 (patch)
tree4a1fc5d37e012502ff4732c801381eec814a2e01 /keyboards/frosty_flake/matrix.c
parent9e7448ea89a1a88317f0acb805819af79d0a76e3 (diff)
parentc5cef025ec39e67408f000825747d88c6aaa86eb (diff)
downloadqmk_firmware-49046f621bc8304c8c7ba7a065d2568f45ecc616.tar.gz
qmk_firmware-49046f621bc8304c8c7ba7a065d2568f45ecc616.tar.xz
Merge tag '0.5.43' into coderkun_neo2
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) {
}
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
+}