Skip to content

Commit deba8ac

Browse files
nika-nordicmasz-nordic
authored andcommitted
tests: drivers: audio: pdm_loopback: fix incorrect error code
Errno codes are returned now. Signed-off-by: Nikodem Kastelik <[email protected]>
1 parent 2a07908 commit deba8ac

File tree

1 file changed

+1
-1
lines changed
  • tests/drivers/audio/pdm_loopback/src

1 file changed

+1
-1
lines changed

tests/drivers/audio/pdm_loopback/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ ZTEST(pdm_loopback, test_pdm_clk_frequency)
245245
timer_config.mode = NRF_TIMER_MODE_COUNTER;
246246

247247
ret = nrfx_timer_init(&timer_instance, &timer_config, timer_handler);
248-
zassert_true(ret == NRFX_SUCCESS,
248+
zassert_true(ret == 0,
249249
"TIMER initialization failed, return code = 0x%08X", ret);
250250

251251
nrfx_timer_enable(&timer_instance);

0 commit comments

Comments
 (0)