From a44580b71c3760b0ba9898823fb73c05aabb2846 Mon Sep 17 00:00:00 2001 From: BUGL Benjamin / EVVA Wien Date: Thu, 22 Apr 2021 07:45:46 +0200 Subject: [PATCH] NRF52: Remove redundant (and unterminated) #if This is a remnant of reverting back to an older version of sleep. --- targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/sleep.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/sleep.c b/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/sleep.c index ea3114555f..e4a566f397 100644 --- a/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/sleep.c +++ b/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/sleep.c @@ -43,10 +43,6 @@ extern bool us_ticker_initialized; void hal_sleep(void) { - /* Clock management for low power mode. */ -#if BB_CLK_RATE_HZ == 32768 && FEATURE_BLE == 1 - // ensure debug is disconnected if semihost is enabled.... - // Trigger an event when an interrupt is pending. This allows to wake up // the processor from disabled interrupts. SCB->SCR |= SCB_SCR_SEVONPEND_Msk;