diff --git a/testing/drivertest/drivertest_i2c_write.c b/testing/drivertest/drivertest_i2c_write.c index 3d64d6cc0..ba2193964 100644 --- a/testing/drivertest/drivertest_i2c_write.c +++ b/testing/drivertest/drivertest_i2c_write.c @@ -249,7 +249,8 @@ static FAR void *slave_read_thread(FAR void *arg) if (rfds.revents == POLLIN) { size = read(rfds.fd, buffer, sizeof(buffer)); - printf("slave size %d", size); + printf("read size = %d\n", size); + assert(size == SIZE_OF_BUFFER); printf("slave poll read \t"); for (i = 0; i < SIZE_OF_BUFFER; i++) {