lufa: Fix for UART debug print
This commit is contained in:
parent
527bdbbcbd
commit
292cc939ec
1 changed files with 3 additions and 0 deletions
|
|
@ -713,7 +713,10 @@ void hook_usb_suspend_entry(void)
|
|||
__attribute__((weak))
|
||||
void hook_usb_suspend_loop(void)
|
||||
{
|
||||
#ifndef LUFA_DEBUG_UART
|
||||
// This corrupts debug print when suspend
|
||||
suspend_power_down();
|
||||
#endif
|
||||
if (USB_Device_RemoteWakeupEnabled && suspend_wakeup_condition()) {
|
||||
USB_Device_SendRemoteWakeup();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue