mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 14:20:51 +00:00
ESP32-Console
This commit is contained in:
@@ -23,6 +23,7 @@ static struct {
|
|||||||
static int exec_gpio_set_cmd (int argc, char **argv) {
|
static int exec_gpio_set_cmd (int argc, char **argv) {
|
||||||
|
|
||||||
int nerrors = arg_parse(argc, argv, (void**) &gpio_set_args);
|
int nerrors = arg_parse(argc, argv, (void**) &gpio_set_args);
|
||||||
|
// Confirm there were no errors
|
||||||
if (nerrors != 0) {
|
if (nerrors != 0) {
|
||||||
arg_print_errors(stderr, gpio_set_args.end, argv[0]);
|
arg_print_errors(stderr, gpio_set_args.end, argv[0]);
|
||||||
return 1;
|
return 1;
|
||||||
|
Reference in New Issue
Block a user