Skip to content

Commit 1e73a66

Browse files
committed
sleep: remove warnings for default build
1 parent 6a045a4 commit 1e73a66

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

platform/sleep.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@
2121

2222
#include "sleep_api.h"
2323

24-
#if !DEVICE_SLEEP
25-
#warning Sleep is not supported on this platform.
26-
#else /* DEVICE_SLEEP */
27-
#ifndef NDEBUG
28-
#warning Sleep is disabled for debug builds.
29-
#endif /* NDEBUG */
30-
#endif /* DEVICE_SLEEP */
31-
3224
#ifdef __cplusplus
3325
extern "C" {
3426
#endif

0 commit comments

Comments
 (0)