1
0
Fork 0

format code according to conventions [skip ci]

This commit is contained in:
QMK Bot 2020-07-04 15:01:25 +00:00
parent c2ca57c8f4
commit 355f075b57
2 changed files with 9 additions and 13 deletions

View file

@ -113,7 +113,4 @@ __attribute__((weak)) uint8_t matrix_scan(void) {
return changed;
}
__attribute__((weak)) bool peek_matrix(uint8_t row_index, uint8_t col_index, bool raw) {
return 0 != ( (raw? raw_matrix[row_index]:matrix[row_index])
& (MATRIX_ROW_SHIFTER << col_index));
}
__attribute__((weak)) bool peek_matrix(uint8_t row_index, uint8_t col_index, bool raw) { return 0 != ((raw ? raw_matrix[row_index] : matrix[row_index]) & (MATRIX_ROW_SHIFTER << col_index)); }