X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmk_core%2Fcommon%2Fcommand.c;h=465aa21c7bccf3b7c5697bdae38e8178a165567f;hb=b9edbb32e96fc1b6d1ecebcddc5e6e39fc15a728;hp=d59bb01bbcbd9151430fdf79444a84636a5cd9c9;hpb=5ce9bf8353568b341b79b3cea676ea62a7d40442;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/common/command.c b/tmk_core/common/command.c index d59bb01b..465aa21c 100644 --- a/tmk_core/common/command.c +++ b/tmk_core/common/command.c @@ -178,7 +178,9 @@ static void print_eeconfig(void) static bool command_common(uint8_t code) { +#ifdef KEYBOARD_LOCK_ENABLE static host_driver_t *host_driver = 0; +#endif switch (code) { #ifdef SLEEP_LED_ENABLE case KC_Z: