diff options
author | QMK Bot <[email protected]> | 2020-07-04 15:01:25 +0000 |
---|---|---|
committer | QMK Bot <[email protected]> | 2020-07-04 15:01:25 +0000 |
commit | 355f075b5766da18129027128de9cdfbe674f6af (patch) | |
tree | 2f0880f649a6f206cac86757050e4efe99ede0cb /quantum/matrix_common.c | |
parent | c2ca57c8f4defd8fc7b7911cc1ba1e49f3d483e1 (diff) | |
download | qmk_firmware-355f075b5766da18129027128de9cdfbe674f6af.tar.gz qmk_firmware-355f075b5766da18129027128de9cdfbe674f6af.zip |
format code according to conventions [skip ci]0.9.27
Diffstat (limited to 'quantum/matrix_common.c')
-rw-r--r-- | quantum/matrix_common.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/matrix_common.c b/quantum/matrix_common.c index e7d2dbb294..15f1e0e82e 100644 --- a/quantum/matrix_common.c +++ b/quantum/matrix_common.c @@ -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)); } |