mirror of https://github.com/ARMmbed/mbed-os.git
NRF52: Remove redundant (and unterminated) #if
This is a remnant of reverting back to an older version of sleep.pull/14073/head
parent
c95912b6dd
commit
a44580b71c
|
@ -43,10 +43,6 @@ extern bool us_ticker_initialized;
|
||||||
|
|
||||||
void hal_sleep(void)
|
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
|
// Trigger an event when an interrupt is pending. This allows to wake up
|
||||||
// the processor from disabled interrupts.
|
// the processor from disabled interrupts.
|
||||||
SCB->SCR |= SCB_SCR_SEVONPEND_Msk;
|
SCB->SCR |= SCB_SCR_SEVONPEND_Msk;
|
||||||
|
|
Loading…
Reference in New Issue