Update MXRT sleep function

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
pull/12562/head
Mahesh Mahadevan 2019-10-30 05:26:35 -05:00 committed by Arto Kinnunen
parent a513634ea3
commit 5a3cdcf4e7
1 changed files with 0 additions and 4 deletions

View File

@ -23,13 +23,9 @@ extern bool serial_check_tx_ongoing();
void hal_sleep(void)
{
vPortPRE_SLEEP_PROCESSING(kCLOCK_ModeWait);
__DSB();
__WFI();
__ISB();
vPortPOST_SLEEP_PROCESSING(kCLOCK_ModeWait);
}
void hal_deepsleep(void)