Skip to content

Commit 8a4a3ca

Browse files
committed
sleep: make sleep/deepsleep static
1 parent 1e73a66 commit 8a4a3ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform/sleep.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ extern "C" {
4242
* Flash re-programming and the USB serial port will remain active, but the mbed program will no longer be
4343
* able to access the LocalFileSystem
4444
*/
45-
__INLINE void sleep(void)
45+
__INLINE static void sleep(void)
4646
{
4747
#ifdef NDEBUG
4848
#if DEVICE_SLEEP
@@ -67,7 +67,7 @@ __INLINE void sleep(void)
6767
* Flash re-programming and the USB serial port will remain active, but the mbed program will no longer be
6868
* able to access the LocalFileSystem
6969
*/
70-
__INLINE void deepsleep(void)
70+
__INLINE static void deepsleep(void)
7171
{
7272
#ifdef NDEBUG
7373
#if DEVICE_SLEEP

0 commit comments

Comments
 (0)