complete double buffering for queueing xfer for lpc11u/13u requried by msc device

This commit is contained in:
hathach
2013-11-14 14:12:07 +07:00
parent 7d84139bd4
commit 6e8440afe5
11 changed files with 145 additions and 102 deletions

View File

@@ -110,7 +110,7 @@ static inline bool hal_debugger_is_attached(void)
#if !defined(_TEST_) && !(MCU==MCU_LPC11UXX)
return ( (CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk) == CoreDebug_DHCSR_C_DEBUGEN_Msk );
#else
return false;
return true; // force to break into breakpoint
#endif
}