Merge pull request #3664 from 0xc0170/fix_ncs36510sleep

Fix ncs36510 sleep definitions
pull/3602/merge
Sam Grove 2017-02-02 10:59:56 -06:00 committed by GitHub
commit b681b49295
2 changed files with 5 additions and 4 deletions

View File

@ -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 */