Skip to content

Commit 10f66e3

Browse files
committed
tests: drivers: i2c: twim_instances: print device address at scan test
More debugs. Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
1 parent 11807ed commit 10f66e3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/drivers/i2c/twim_instances/src/twim_instances.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ static void test_scan_instance(const struct device *dev)
9898
for (uint8_t addr = first_addr; addr <= last_addr; addr += 1) {
9999
if (i2c_transfer(dev, &msg, 1, addr) == 0) {
100100
dev_cnt = dev_cnt + 1;
101+
TC_PRINT("Found device with address: 0x%x\n", addr);
101102
}
102103
}
103104
zassert_equal(dev_cnt, 0,

0 commit comments

Comments
 (0)