Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion samples/drivers/i2c_scanner/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void main(void)

/* Send the address to read from */
msgs[0].buf = &dst;
msgs[0].len = 0U;
msgs[0].len = 1U;
msgs[0].flags = I2C_MSG_WRITE | I2C_MSG_STOP;

if (i2c_transfer(i2c_dev, &msgs[0], 1, i) == 0) {
Expand Down