diff options
Diffstat (limited to 'keyboards/kmac')
| -rw-r--r-- | keyboards/kmac/matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/kmac/matrix.c b/keyboards/kmac/matrix.c index cfafa90e6..82f0621f2 100644 --- a/keyboards/kmac/matrix.c +++ b/keyboards/kmac/matrix.c | |||
| @@ -97,7 +97,7 @@ uint8_t matrix_scan(void) | |||
| 97 | inline | 97 | inline |
| 98 | bool matrix_is_on(uint8_t row, uint8_t col) | 98 | bool matrix_is_on(uint8_t row, uint8_t col) |
| 99 | { | 99 | { |
| 100 | return (matrix[row] & ((matrix_row_t)1<col)); | 100 | return (matrix[row] & ((matrix_row_t)1<<col)); |
| 101 | } | 101 | } |
| 102 | 102 | ||
| 103 | inline | 103 | inline |
