Skip to content

Commit 3c343cf

Browse files
KurtEdhalbert
andauthored
Update ports/mimxrt10xx/supervisor/port.c
Co-authored-by: Dan Halbert <[email protected]>
1 parent 1312e5c commit 3c343cf

File tree

1 file changed

+0
-9
lines changed
  • ports/mimxrt10xx/supervisor

1 file changed

+0
-9
lines changed

ports/mimxrt10xx/supervisor/port.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -415,15 +415,6 @@ void port_idle_until_interrupt(void) {
415415
common_hal_mcu_disable_interrupts();
416416
if (!background_callback_pending()) {
417417
NVIC_ClearPendingIRQ(SNVS_HP_WRAPPER_IRQn);
418-
// Don't down clock on debug builds because it prevents the DAP from
419-
// reading memory
420-
#if 0
421-
#if CIRCUITPY_DEBUG == 0
422-
CLOCK_SetMode(kCLOCK_ModeWait);
423-
#endif
424-
__WFI();
425-
CLOCK_SetMode(kCLOCK_ModeRun);
426-
#else
427418
__WFI();
428419
#endif
429420
}

0 commit comments

Comments
 (0)