lufa: Rename LUFA_DEBUG to TMK_LUFA_DEBUG

This commit is contained in:
tmk 2020-02-09 21:17:52 +09:00
parent ea1d7ff240
commit 6209ceebfb
5 changed files with 31 additions and 31 deletions

View file

@ -5,10 +5,10 @@ TARGET = usb_usb_debug
# LUFA debug print
# This may prevent USB enumeration and keyboard init
LUFA_DEBUG = yes
TMK_LUFA_DEBUG = yes
# Select one of outputs for debug print
LUFA_DEBUG_UART = yes
#LUFA_DEBUG_SUART = yes
TMK_LUFA_DEBUG_UART = yes
#TMK_LUFA_DEBUG_SUART = yes
# USB_Host_Shield_2.0 debug print
# This may prevent USB enumeration and keyboard init

View file

@ -1,7 +1,7 @@
TARGET = usb_usb_unimap
UNIMAP_ENABLE = yes
KEYMAP_SECTION_ENABLE = yes
#LUFA_DEBUG = yes
#TMK_LUFA_DEBUG = yes
#CONSOLE_ENABLE = no
NO_DEBUG = yes
include Makefile

View file

@ -238,7 +238,7 @@ void hook_usb_startup_wait_loop(void)
// This situation can happen just after pluging converter into USB port.
void hook_usb_suspend_loop(void)
{
#ifndef LUFA_DEBUG_UART
#ifndef TMK_LUFA_DEBUG_UART
// This corrupts debug print when suspend
suspend_power_down();
#endif