apps/exmples/gpio: Should not claim an error if we are only asked to read an output pin
This commit is contained in:
parent
02b864d3ab
commit
73b0ce0272
@ -240,13 +240,6 @@ int gpio_main(int argc, char *argv[])
|
|||||||
|
|
||||||
printf(" Verify: Value=%u\n", (unsigned int)invalue);
|
printf(" Verify: Value=%u\n", (unsigned int)invalue);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
fprintf(stderr, "ERROR: Missing value to write\n");
|
|
||||||
show_usage(argv[0]);
|
|
||||||
close(fd);
|
|
||||||
return EXIT_FAILURE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user