Skip to content

Commit 86d1360

Browse files
committed
ncs36510: fix sleep header private file
This private header should have unique name, that does not collide with generic names like sleep.h
1 parent 450701f commit 86d1360

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

targets/TARGET_ONSEMI/TARGET_NCS36510/sleep_api.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
*/
3434

3535
#if DEVICE_SLEEP
36-
#include "sleep.h"
36+
37+
#include "fncs36510_sleep.h"
3738
#include "sleep_api.h"
3839
#include "cmsis_nvic.h"
3940

@@ -47,4 +48,4 @@ void deepsleep()
4748
fncs36510_deepsleep();
4849
}
4950

50-
#endif /* DEVICE_SLEEP */
51+
#endif /* DEVICE_SLEEP */

0 commit comments

Comments
 (0)