summaryrefslogtreecommitdiff
path: root/keyboards/kmac/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kmac/matrix.c')
-rw-r--r--keyboards/kmac/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/kmac/matrix.c b/keyboards/kmac/matrix.c
index cfafa90e66..82f0621f2b 100644
--- a/keyboards/kmac/matrix.c
+++ b/keyboards/kmac/matrix.c
@@ -97,7 +97,7 @@ uint8_t matrix_scan(void)
inline
bool matrix_is_on(uint8_t row, uint8_t col)
{
- return (matrix[row] & ((matrix_row_t)1<col));
+ return (matrix[row] & ((matrix_row_t)1<<col));
}
inline