MAX32630: Fix sleep definitions

pull/4097/head
Bartek Szatkowski 2017-04-04 09:50:16 +01:00
parent 57dc2a540c
commit 4cd6068b73
1 changed files with 3 additions and 3 deletions

View File

@ -34,13 +34,13 @@
#include "sleep_api.h" #include "sleep_api.h"
#include "lp.h" #include "lp.h"
void sleep(void) void hal_sleep(void)
{ {
LP_EnterLP2(); LP_EnterLP2();
} }
// Low-power stop mode // Low-power stop mode
void deepsleep(void) void hal_deepsleep(void)
{ {
sleep(); hal_sleep();
} }