Port action_* to mbed

This commit is contained in:
tmk committed 2014-07-30 14:07:43 +09:00
1 parent 04fe78ee0a
commit c67ae2a6b5
21 files changed
+92 -64

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ static bool scan_keycode(uint8_t keycode)
matrix_row_t matrix_row = matrix_get_row(r);
for (uint8_t c = 0; c < MATRIX_COLS; c++) {
if (matrix_row & ((matrix_row_t)1<<c)) {
if (keycode == keymap_key_to_keycode(0, (key_t){ .row = r, .col = c })) {
if (keycode == keymap_key_to_keycode(0, (keypos_t){ .row = r, .col = c })) {
return true;
}
}