From 1a0bac8bccf0e156d2f3c5f14a7214f9677b6370 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Tue, 21 Jun 2016 17:42:29 -0400 Subject: Warning reductions (#430) Warning reductions --- tmk_core/common/command.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tmk_core/common/command.c') diff --git a/tmk_core/common/command.c b/tmk_core/common/command.c index 024d7c67a..187a2b949 100644 --- a/tmk_core/common/command.c +++ b/tmk_core/common/command.c @@ -66,7 +66,6 @@ static bool mousekey_console(uint8_t code); static void mousekey_console_help(void); #endif -static uint8_t numkey2num(uint8_t code); static void switch_default_layer(uint8_t layer); @@ -763,7 +762,7 @@ static bool mousekey_console(uint8_t code) /*********************************************************** * Utilities ***********************************************************/ -static uint8_t numkey2num(uint8_t code) +uint8_t numkey2num(uint8_t code) { switch (code) { case KC_1: return 1; -- cgit v1.2.3