Skip to content

Commit f2c00c7

Browse files
committed
NRF51822: Remove MBED_WEAK from hal_sleep functions
1 parent 8a4a3ca commit f2c00c7

File tree

1 file changed

+2
-2
lines changed
  • targets/TARGET_NORDIC/TARGET_MCU_NRF51822

1 file changed

+2
-2
lines changed

targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sleep.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
#include "mbed_interface.h"
1919
#include "toolchain.h"
2020

21-
MBED_WEAK void hal_sleep(void)
21+
void hal_sleep(void)
2222
{
2323
// ensure debug is disconnected if semihost is enabled....
2424
NRF_POWER->TASKS_LOWPWR = 1;
2525
// wait for interrupt
2626
__WFE();
2727
}
2828

29-
MBED_WEAK void hal_deepsleep(void)
29+
void hal_deepsleep(void)
3030
{
3131
hal_sleep();
3232
// NRF_POWER->SYSTEMOFF=1;

0 commit comments

Comments
 (0)