Update MXRT sleep function

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
pull/12095/head
Mahesh Mahadevan 2019-10-30 05:26:35 -05:00
parent 126df98c39
commit 3b5ca18924
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)