apps/exmples/gpio: Should not claim an error if we are only asked to read an output pin

This commit is contained in:
Gregory Nutt 2016-08-03 13:08:58 -06:00
parent 02b864d3ab
commit 73b0ce0272

View File

@ -240,13 +240,6 @@ int gpio_main(int argc, char *argv[])
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;