mirror of https://github.com/ARMmbed/mbed-os.git
sleep: remove warnings for default build
parent
6a045a49a9
commit
1e73a66c33
|
@ -21,14 +21,6 @@
|
|||
|
||||
#include "sleep_api.h"
|
||||
|
||||
#if !DEVICE_SLEEP
|
||||
#warning Sleep is not supported on this platform.
|
||||
#else /* DEVICE_SLEEP */
|
||||
#ifndef NDEBUG
|
||||
#warning Sleep is disabled for debug builds.
|
||||
#endif /* NDEBUG */
|
||||
#endif /* DEVICE_SLEEP */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue