Explorar el Código

Merge pull request #292 from obones/command_warning

Fix warning in command.c
master
tmk hace 8 años
padre
commit
b9edbb32e9
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      tmk_core/common/command.c

+ 2
- 0
tmk_core/common/command.c Ver fichero



static bool command_common(uint8_t code) static bool command_common(uint8_t code)
{ {
#ifdef KEYBOARD_LOCK_ENABLE
static host_driver_t *host_driver = 0; static host_driver_t *host_driver = 0;
#endif
switch (code) { switch (code) {
#ifdef SLEEP_LED_ENABLE #ifdef SLEEP_LED_ENABLE
case KC_Z: case KC_Z: