git://git.gir.st
/
tmk_keyboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
093bfd6
)
Fix to make phantom board compile
author
Erik Pettersson
<erik@ejp.se>
Sat, 26 Nov 2016 08:58:21 +0000
(09:58 +0100)
committer
Erik Pettersson
<erik@ejp.se>
Sat, 26 Nov 2016 08:58:21 +0000
(09:58 +0100)
orphan/phantom/keymap.c
patch
|
blob
|
blame
|
history
diff --git
a/orphan/phantom/keymap.c
b/orphan/phantom/keymap.c
index a040434f2478113b6c242f7b35c7708d2247b4cf..81180aa53a9ad708923aa84e33df6abb0ffaaebc 100644
(file)
--- a/
orphan/phantom/keymap.c
+++ b/
orphan/phantom/keymap.c
@@
-145,7
+145,7
@@
action_t keymap_fn_to_action(uint8_t keycode)
if (FN_INDEX(keycode) < FN_ACTIONS_SIZE) {
action.code = pgm_read_word(&fn_actions[FN_INDEX(keycode)]);
} else {
-
action.code =
ACTION_NO;
+
return (action_t)
ACTION_NO;
}
return action;
}