1
0
Fork 0

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

@ -134,7 +134,7 @@ uint8_t matrix_scan(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

View file

@ -138,7 +138,7 @@ uint8_t matrix_scan(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

View file

@ -124,7 +124,7 @@ uint8_t matrix_scan(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

View file

@ -124,7 +124,7 @@ uint8_t matrix_scan(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

View file

@ -218,7 +218,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

View file

@ -258,7 +258,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

View file

@ -218,7 +218,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

View file

@ -218,7 +218,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

View file

@ -198,7 +198,7 @@ uint8_t matrix_scan(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

View file

@ -167,7 +167,7 @@ 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

View file

@ -97,7 +97,7 @@ uint8_t matrix_scan(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

View file

@ -112,7 +112,7 @@ uint8_t matrix_scan(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

View file

@ -125,7 +125,7 @@ uint8_t matrix_scan(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

View file

@ -132,7 +132,7 @@ uint8_t matrix_scan(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

View file

@ -190,7 +190,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

View file

@ -134,7 +134,7 @@ uint8_t matrix_scan(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

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