1
0

host_driver is only used if KEYBOARD_LOCK_ENABLE is defined

This commit is contained in:
obones 2016-01-07 14:40:53 +01:00
parent 33714e5582
commit 66b6df0068

View File

@ -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: