X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=orphan%2Fphantom%2Fkeymap.c;h=81180aa53a9ad708923aa84e33df6abb0ffaaebc;hb=b813d62a8bbd30c75396cce6068af0af370d7b7f;hp=a040434f2478113b6c242f7b35c7708d2247b4cf;hpb=885e7adb18fb6039f0fe66de23e0622af923f7d1;p=max%2Ftmk_keyboard.git diff --git a/orphan/phantom/keymap.c b/orphan/phantom/keymap.c index a040434f..81180aa5 100644 --- 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; }