### Description - Type: Bug --- ## Bug **Target** TARGET_NORDIC TARGET_MCU_NRF51822 TARGET_NRF5 The sleep() function don't take into account the use of the softdevice. the correct implementation should be similar to the one used on [mbed OS 3:](https://github.com/ARMmbed/mbed-hal-nrf51822-mcu/blob/master/source/sleep.c#L26)