From ecce95cacb6a6795b4da776bbc3b135269e7631e Mon Sep 17 00:00:00 2001 From: Michel Rottleuthner Date: Thu, 24 Mar 2022 15:38:17 +0100 Subject: [PATCH] boards/pba-d-01-kw2x: init modem clock in post_startup to precede cpu_init --- boards/pba-d-01-kw2x/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/pba-d-01-kw2x/board.c b/boards/pba-d-01-kw2x/board.c index da6273944d..78baeaedf9 100644 --- a/boards/pba-d-01-kw2x/board.c +++ b/boards/pba-d-01-kw2x/board.c @@ -54,7 +54,7 @@ static inline void modem_clock_init(void) while (KW2XDRF_GPIO->PDIR & (1 << KW2XDRF_IRQ_PIN)); } -void board_init(void) +void post_startup(void) { modem_clock_init(); }