From: Erik Pettersson Date: Sat, 26 Nov 2016 08:58:21 +0000 (+0100) Subject: Fix to make phantom board compile X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=d14f72e2f73309ab61fee8945a95bb3266cdffe7;p=max%2Ftmk_keyboard.git Fix to make phantom board compile --- 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; }