forked from mirrors/qmk_userspace
Fix gh60/matrix.c and Makefile
This commit is contained in:
parent
4d64fd8faa
commit
1385058fc2
3 changed files with 16 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue