]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
core: Fix NKRO ifdef
authorJun Wako <wakojun@gmail.com>
Wed, 23 Sep 2015 16:35:10 +0000 (01:35 +0900)
committerJun Wako <wakojun@gmail.com>
Wed, 23 Sep 2015 16:35:10 +0000 (01:35 +0900)
tmk_core/common/command.c

index 420e7eb9b4f1ca812811137bf95edad3d74a66f6..d59bb01bbcbd9151430fdf79444a84636a5cd9c9 100644 (file)
@@ -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