From: alex-ong Date: Mon, 22 Jan 2018 03:50:38 +0000 (+1100) Subject: core: Fix for un-defined function when compiling without MOUSEKEY_ENABLE X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=8770269e1e826ab07347093418cc70ff043d8743;p=max%2Ftmk_keyboard.git core: Fix for un-defined function when compiling without MOUSEKEY_ENABLE --- diff --git a/tmk_core/common/command.c b/tmk_core/common/command.c index 688e460e..e08f91e5 100644 --- a/tmk_core/common/command.c +++ b/tmk_core/common/command.c @@ -57,9 +57,10 @@ static void command_console_help(void); #ifdef MOUSEKEY_ENABLE static bool mousekey_console(uint8_t code); static void mousekey_console_help(void); +static uint8_t numkey2num(uint8_t code); #endif -static uint8_t numkey2num(uint8_t code); + static void switch_default_layer(uint8_t layer);