host_driver is only used if KEYBOARD_LOCK_ENABLE is defined
This commit is contained in:
parent
33714e5582
commit
66b6df0068
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Reference in a new issue