mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #3664 from 0xc0170/fix_ncs36510sleep
Fix ncs36510 sleep definitionspull/3602/merge
commit
b681b49295
|
@ -33,18 +33,19 @@
|
|||
*/
|
||||
|
||||
#if DEVICE_SLEEP
|
||||
#include "sleep.h"
|
||||
|
||||
#include "fncs36510_sleep.h"
|
||||
#include "sleep_api.h"
|
||||
#include "cmsis_nvic.h"
|
||||
|
||||
void sleep()
|
||||
void hal_sleep()
|
||||
{
|
||||
fncs36510_sleep();
|
||||
}
|
||||
|
||||
void deepsleep()
|
||||
void hal_deepsleep()
|
||||
{
|
||||
fncs36510_deepsleep();
|
||||
}
|
||||
|
||||
#endif /* DEVICE_SLEEP */
|
||||
#endif /* DEVICE_SLEEP */
|
||||
|
|
Loading…
Reference in New Issue