File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 24
24
#ifndef MBED_SLEEP_H
25
25
#define MBED_SLEEP_H
26
26
27
- #include "sleep_api.h"
27
+ #include "hal/ sleep_api.h"
28
28
#include "mbed_toolchain.h"
29
29
#include <stdbool.h>
30
30
@@ -128,7 +128,7 @@ void sleep_manager_sleep_auto(void);
128
128
* Flash re-programming and the USB serial port will remain active, but the mbed program will no longer be
129
129
* able to access the LocalFileSystem
130
130
*/
131
- __INLINE static void sleep (void )
131
+ static inline void sleep (void )
132
132
{
133
133
#if !(defined(FEATURE_UVISOR ) && defined(TARGET_UVISOR_SUPPORTED ))
134
134
#if DEVICE_SLEEP
@@ -158,7 +158,7 @@ __INLINE static void sleep(void)
158
158
*/
159
159
160
160
MBED_DEPRECATED_SINCE ("mbed-os-5.6" , "One entry point for an application, use sleep()" )
161
- __INLINE static void deepsleep (void )
161
+ static inline void deepsleep (void )
162
162
{
163
163
#if !(defined(FEATURE_UVISOR ) && defined(TARGET_UVISOR_SUPPORTED ))
164
164
#if DEVICE_SLEEP
You can’t perform that action at this time.
0 commit comments