mirror of https://github.com/ARMmbed/mbed-os.git
sleep: make sleep/deepsleep static
parent
1e73a66c33
commit
8a4a3caf65
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue