drivertest: Modify output format
before: slave size 4slave poll read 0 1 2 3 master write 0 1 2 3 now: read size = 4 slave poll read 0 1 2 3 master write 0 1 2 3 Signed-off-by: Shoukui Zhang <zhangshoukui@xiaomi.com>
This commit is contained in:
parent
ed5ca1c512
commit
dad9b5afa3
@ -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++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user