Skip to content

Commit 2bd045e

Browse files
committed
tests: bluetooth: replace deprecated API
Replace deprecated nrfx_clock call with new one. Signed-off-by: Marcin Szymczyk <[email protected]>
1 parent 98e3cf8 commit 2bd045e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/bluetooth/iso/src/main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ static int hfclock_config_and_start(void)
2323
return ret;
2424
}
2525

26+
nrf_clock_hfclk_t clk_src;
27+
2628
nrfx_clock_hfclk_start();
27-
while (!nrfx_clock_hfclk_is_running()) {
29+
while (!nrfx_clock_hfclk_running_check(&clk_src)) {
2830
}
2931

3032
return 0;

0 commit comments

Comments
 (0)