Selaa lähdekoodia

core: Fix NKRO ifdef

Jun Wako 9 vuotta sitten
vanhempi
commit
77afc5a76f
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      tmk_core/common/command.c

+ 2 - 0
tmk_core/common/command.c

@@ -315,7 +315,9 @@ static bool command_common(uint8_t code)
             print_val_hex8(host_keyboard_leds());
             print_val_hex8(keyboard_protocol);
             print_val_hex8(keyboard_idle);
+#ifdef NKRO_ENABLE
             print_val_hex8(keyboard_nkro);
+#endif
             print_val_hex32(timer_count);
 
 #ifdef PROTOCOL_PJRC