aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/frosty_flake/matrix.c
diff options
context:
space:
mode:
authorGravatar Adam YH Lee <adam.yh.lee@gmail.com>2017-04-16 15:20:31 -0700
committerGravatar Adam YH Lee <adam.yh.lee@gmail.com>2017-04-16 15:20:31 -0700
commit9d4050586d24cdfbe5257c094fbb6c1be51f176f (patch)
tree8cf123260835331d75d02c5b15d0fb39ceba3256 /keyboards/frosty_flake/matrix.c
parent7e930626eb5f69d6a4de0594c6f5930334d801f8 (diff)
parentb5e8327755100252060afbd54e16322522b4f1e9 (diff)
downloadqmk_firmware-9d4050586d24cdfbe5257c094fbb6c1be51f176f.tar.gz
Merge branch 'master' into layouts/adam-lee
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
+}