Update ports/mimxrt10xx/supervisor/port.c

Co-authored-by: Dan Halbert <halbert@halwitz.org>
This commit is contained in:
KurtE 2022-04-22 11:47:30 -07:00 committed by GitHub
parent 1312e5c759
commit 3c343cf1b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -415,15 +415,6 @@ void port_idle_until_interrupt(void) {
common_hal_mcu_disable_interrupts();
if (!background_callback_pending()) {
NVIC_ClearPendingIRQ(SNVS_HP_WRAPPER_IRQn);
// Don't down clock on debug builds because it prevents the DAP from
// reading memory
#if 0
#if CIRCUITPY_DEBUG == 0
CLOCK_SetMode(kCLOCK_ModeWait);
#endif
__WFI();
CLOCK_SetMode(kCLOCK_ModeRun);
#else
__WFI();
#endif
}