From 8770269e1e826ab07347093418cc70ff043d8743 Mon Sep 17 00:00:00 2001 From: alex-ong Date: Mon, 22 Jan 2018 14:50:38 +1100 Subject: [PATCH] core: Fix for un-defined function when compiling without MOUSEKEY_ENABLE --- tmk_core/common/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.46.2