diff options
Diffstat (limited to 'keyboard/gh60/matrix.c')
-rw-r--r-- | keyboard/gh60/matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/gh60/matrix.c b/keyboard/gh60/matrix.c index 85e58fe361..09a051aa66 100644 --- a/keyboard/gh60/matrix.c +++ b/keyboard/gh60/matrix.c @@ -120,7 +120,7 @@ bool matrix_has_ghost(void) inline bool matrix_is_on(uint8_t row, uint8_t col) { - return (matrix[row] & (1<<col)); + return (matrix[row] & ((matrix_row_t)1<<col)); } inline |