mirror of https://github.com/ARMmbed/mbed-os.git
MAX32630: Fix sleep definitions
parent
57dc2a540c
commit
4cd6068b73
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue