Parcourir la source

host_driver is only used if KEYBOARD_LOCK_ENABLE is defined

tags/v2.9
obones il y a 8 ans
Parent
révision
66b6df0068
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2
    0
      tmk_core/common/command.c

+ 2
- 0
tmk_core/common/command.c Voir le fichier

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

Chargement…
Annuler
Enregistrer