]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - tmk_core/protocol/lufa.mk
Merge remote-tracking branch 'tmk/master'
[max/tmk_keyboard.git] / tmk_core / protocol / lufa.mk
index 6e2d559feed9c6f02664c2e9418affe0c25a6379..443b1f05ba6dfa02691373febe9fa3a7ce92cfed 100644 (file)
@@ -49,20 +49,20 @@ ifeq ($(MCU),atmega32u2)
         TMK_LUFA_OPTS += -DNO_LIMITED_CONTROLLER_CONNECT
 endif
 
-ifeq (yes,$(strip $(LUFA_DEBUG)))
-    TMK_LUFA_OPTS += -DLUFA_DEBUG
+ifeq (yes,$(strip $(TMK_LUFA_DEBUG)))
+    TMK_LUFA_OPTS += -DTMK_LUFA_DEBUG
 endif
 
-ifeq (yes,$(strip $(LUFA_DEBUG_SUART)))
+ifeq (yes,$(strip $(TMK_LUFA_DEBUG_SUART)))
     SRC += common/avr/suart.S
-    TMK_LUFA_OPTS += -DLUFA_DEBUG_SUART
+    TMK_LUFA_OPTS += -DTMK_LUFA_DEBUG_SUART
     # Keep print/debug lines when disabling HID console. See common.mk.
     DEBUG_PRINT_AVAILABLE = yes
 endif
 
-ifeq (yes,$(strip $(LUFA_DEBUG_UART)))
+ifeq (yes,$(strip $(TMK_LUFA_DEBUG_UART)))
     SRC += common/avr/uart.c
-    TMK_LUFA_OPTS += -DLUFA_DEBUG_UART
+    TMK_LUFA_OPTS += -DTMK_LUFA_DEBUG_UART
     # Keep print/debug lines when disabling HID console. See common.mk.
     DEBUG_PRINT_AVAILABLE = yes
 endif