Skip to content

Commit 14bc656

Browse files
aescolarjhedberg
authored andcommitted
tests: drivers: counter: maxim_ds3231: Add missing assert print param
Add a missing assert print parameter. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent 169a92e commit 14bc656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/drivers/counter/maxim_ds3231_api/src/test_counter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ void test_multiple_alarms_instance(const struct device *dev)
398398

399399
err = counter_set_top_value(dev, &top_cfg);
400400
zassert_equal(-ENOTSUP, err,
401-
"%s: Counter failed to set top value: %d", dev->name);
401+
"%s: Counter failed to set top value: %d", dev->name, err);
402402

403403
k_sleep(K_USEC(3 * (uint32_t)counter_ticks_to_us(dev, alarm_cfg.ticks)));
404404

0 commit comments

Comments
 (0)