Fix 1<col instead of 1<<col typo in matrix_is_on()

This commit is contained in:
James Churchill 2019-01-27 16:30:25 +10:00 committed by Drashna Jaelre
parent 4d9b11af14
commit 6d2071ad6e
17 changed files with 32 additions and 32 deletions

View file

@ -184,7 +184,7 @@ bool matrix_is_modified(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