projects
/
qmk_firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d1528c
)
Fix frosty_flake warning when print is disabled
author
Fred Sundvik
<fsundvik@gmail.com>
Sun, 9 Apr 2017 19:19:52 +0000
(22:19 +0300)
committer
Fred Sundvik
<fsundvik@gmail.com>
Thu, 13 Apr 2017 13:00:29 +0000
(16:00 +0300)
keyboards/frosty_flake/matrix.c
patch
|
blob
|
history
diff --git
a/keyboards/frosty_flake/matrix.c
b/keyboards/frosty_flake/matrix.c
index 05dffdb643b4eb3d4e44db852a71fd81bdd8b875..cde7f63b95ba54d81c3dff6c47fd31710301d6f4 100644
(file)
--- 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
+}