Skip to content

Commit 060c5f6

Browse files
softdevice_handler: move sys_init to application level
Move SoftDevice system initialization to application level. This is necessary to add logging to these functions. Signed-off-by: Eivind Jølsgard <[email protected]>
1 parent 5a1f98e commit 060c5f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

subsys/softdevice_handler/irq_connect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,4 @@ __attribute__((weak)) void C_POWER_CLOCK_Handler(void)
134134

135135
#endif
136136

137-
SYS_INIT(irq_init, PRE_KERNEL_1, 0);
137+
SYS_INIT(irq_init, APPLICATION, 0);

subsys/softdevice_handler/nrf_sdh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,4 +294,4 @@ static int sd_irq_init(void)
294294
return 0;
295295
}
296296

297-
SYS_INIT(sd_irq_init, POST_KERNEL, 0);
297+
SYS_INIT(sd_irq_init, APPLICATION, 0);

0 commit comments

Comments
 (0)