]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
core: Fix for un-defined function when compiling without MOUSEKEY_ENABLE
authoralex-ong <alex.ong@unsw.edu.au>
Mon, 22 Jan 2018 03:50:38 +0000 (14:50 +1100)
committeralex-ong <alex.ong@unsw.edu.au>
Mon, 22 Jan 2018 03:50:38 +0000 (14:50 +1100)
tmk_core/common/command.c

index 688e460e8681e3d4b4d1523bc2a285cc1aab5f97..e08f91e51376ebd0fe26cd67716acce2b5ae2381 100644 (file)
@@ -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);