[NRF51822] Fix reference to sleep in hal_patch override

The `sleep` function as been changed into `hal_sleep` by #3607.
Unfortunately the call to `sleep` in the hal_patch for the NRF51822 has not been
updated to `hal_sleep`. The result was a link time error for targets based on
NRF51822_LEGACY compiling with the mbed OS 5 tree.
pull/3913/head
Vincent Coubard 2017-03-09 12:44:49 +00:00
parent b2726470f6
commit 5596cd05cd
1 changed files with 1 additions and 1 deletions

View File

@ -66,6 +66,6 @@ void hal_sleep(void)
void hal_deepsleep(void)
{
sleep();
hal_sleep();
// NRF_POWER->SYSTEMOFF=1;
}