diff options
Diffstat (limited to 'tinyusb/hal')
| -rw-r--r-- | tinyusb/hal/hal.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
