mirror of https://github.com/ARMmbed/mbed-os.git
Renamed sleep implementation file and added DEVICE_SLEEP #defines
parent
96c0ae58f0
commit
db6792f7cc
|
@ -17,6 +17,8 @@
|
|||
#include "cmsis.h"
|
||||
#include "mbed_interface.h"
|
||||
|
||||
#if DEVICE_SLEEP
|
||||
|
||||
void sleep(void) {
|
||||
|
||||
#if (DEVICE_SEMIHOST == 1)
|
||||
|
@ -63,3 +65,5 @@ void deepsleep(void) {
|
|||
// wait for interrupt
|
||||
__WFI();
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue