summaryrefslogtreecommitdiff
path: root/keyboard/gh60/matrix.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-09 22:23:32 +0900
committertmk <nobody@nowhere>2013-03-09 22:23:32 +0900
commit1385058fc21f80347c7afd2b818e38795ce9d55a (patch)
tree976ede371f981edd1a84c91b07738e22bf083144 /keyboard/gh60/matrix.c
parent4d64fd8faa8b1a0ceb9019446ba6915aaf1812ea (diff)
Fix gh60/matrix.c and Makefile
Diffstat (limited to 'keyboard/gh60/matrix.c')
-rw-r--r--keyboard/gh60/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/gh60/matrix.c b/keyboard/gh60/matrix.c
index 85e58fe361..09a051aa66 100644
--- a/keyboard/gh60/matrix.c
+++ b/keyboard/gh60/matrix.c
@@ -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