Fix gh60/matrix.c and Makefile

This commit is contained in:
tmk 2013-03-09 22:23:32 +09:00
parent 4d64fd8faa
commit 1385058fc2
3 changed files with 16 additions and 8 deletions

View file

@ -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