summaryrefslogtreecommitdiffstats
path: root/common/keyboard.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-06-17 00:57:59 +0900
committertmk <nobody@nowhere>2014-07-30 14:07:43 +0900
commitc67ae2a6b546c822759352586c14cd9dccbbe0ff (patch)
treeab77175c64bfce74d2662260b9cdb2af8d8a7efd /common/keyboard.c
parent04fe78ee0a7fe9baed39f021799a3dbb24ebeb36 (diff)
Port action_* to mbed
Diffstat (limited to 'common/keyboard.c')
-rw-r--r--common/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/keyboard.c b/common/keyboard.c
index 2b66f20a01..b71d5bf13c 100644
--- a/common/keyboard.c
+++ b/common/keyboard.c
@@ -100,7 +100,7 @@ void keyboard_task(void)
for (uint8_t c = 0; c < MATRIX_COLS; c++) {
if (matrix_change & ((matrix_row_t)1<<c)) {
action_exec((keyevent_t){
- .key = (key_t){ .row = r, .col = c },
+ .key = (keypos_t){ .row = r, .col = c },
.pressed = (matrix_row & ((matrix_row_t)1<<c)),
.time = (timer_read() | 1) /* time should not be 0 */
});