Fix gh60/matrix.c and Makefile
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user