mirror of https://github.com/ARMmbed/mbed-os.git
NRF51822: Remove MBED_WEAK from hal_sleep functions
parent
8a4a3caf65
commit
f2c00c7cb5
|
@ -18,7 +18,7 @@
|
|||
#include "mbed_interface.h"
|
||||
#include "toolchain.h"
|
||||
|
||||
MBED_WEAK void hal_sleep(void)
|
||||
void hal_sleep(void)
|
||||
{
|
||||
// ensure debug is disconnected if semihost is enabled....
|
||||
NRF_POWER->TASKS_LOWPWR = 1;
|
||||
|
@ -26,7 +26,7 @@ MBED_WEAK void hal_sleep(void)
|
|||
__WFE();
|
||||
}
|
||||
|
||||
MBED_WEAK void hal_deepsleep(void)
|
||||
void hal_deepsleep(void)
|
||||
{
|
||||
hal_sleep();
|
||||
// NRF_POWER->SYSTEMOFF=1;
|
||||
|
|
Loading…
Reference in New Issue