Fix to make phantom board compile
This commit is contained in:
parent
093bfd6901
commit
d14f72e2f7
@ -145,7 +145,7 @@ action_t keymap_fn_to_action(uint8_t keycode)
|
|||||||
if (FN_INDEX(keycode) < FN_ACTIONS_SIZE) {
|
if (FN_INDEX(keycode) < FN_ACTIONS_SIZE) {
|
||||||
action.code = pgm_read_word(&fn_actions[FN_INDEX(keycode)]);
|
action.code = pgm_read_word(&fn_actions[FN_INDEX(keycode)]);
|
||||||
} else {
|
} else {
|
||||||
action.code = ACTION_NO;
|
return (action_t)ACTION_NO;
|
||||||
}
|
}
|
||||||
return action;
|
return action;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user