sleep: make sleep/deepsleep static

pull/3607/head
Bartek Szatkowski 2017-01-19 11:53:53 +00:00
parent 1e73a66c33
commit 8a4a3caf65
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ extern "C" {
* Flash re-programming and the USB serial port will remain active, but the mbed program will no longer be
* able to access the LocalFileSystem
*/
__INLINE void sleep(void)
__INLINE static void sleep(void)
{
#ifdef NDEBUG
#if DEVICE_SLEEP
@ -67,7 +67,7 @@ __INLINE void sleep(void)
* Flash re-programming and the USB serial port will remain active, but the mbed program will no longer be
* able to access the LocalFileSystem
*/
__INLINE void deepsleep(void)
__INLINE static void deepsleep(void)
{
#ifdef NDEBUG
#if DEVICE_SLEEP