Browse Source

host_driver is only used if KEYBOARD_LOCK_ENABLE is defined

tags/v2.9
obones 8 years ago
parent
commit
66b6df0068
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      tmk_core/common/command.c

+ 2
- 0
tmk_core/common/command.c 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:

Loading…
Cancel
Save