From 6e8440afe555cc8c47b8ef1fdce56bb5d37231a8 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 14 Nov 2013 14:12:07 +0700 Subject: complete double buffering for queueing xfer for lpc11u/13u requried by msc device --- tinyusb/hal/hal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinyusb/hal') diff --git a/tinyusb/hal/hal.h b/tinyusb/hal/hal.h index a48852be3..c6f44f47c 100644 --- a/tinyusb/hal/hal.h +++ b/tinyusb/hal/hal.h @@ -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 } -- cgit v1.3.1