From 3b5ca189246d857767b2ed6333c4b46f30176c7e Mon Sep 17 00:00:00 2001 From: Mahesh Mahadevan Date: Wed, 30 Oct 2019 05:26:35 -0500 Subject: [PATCH] Update MXRT sleep function Signed-off-by: Mahesh Mahadevan --- targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_IMX/sleep.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_IMX/sleep.c b/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_IMX/sleep.c index 86e9ee4500..310e96086e 100644 --- a/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_IMX/sleep.c +++ b/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_IMX/sleep.c @@ -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)