mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 03:37:35 +00:00
ESP32-Console
This commit is contained in:
@@ -129,9 +129,9 @@ static struct {
|
||||
} gpio_args;
|
||||
static int exec_gpio_cmd (int argc, char **argv) {
|
||||
|
||||
int nerrors = arg_parse(argc, argv, (void**) &info_args);
|
||||
int nerrors = arg_parse(argc, argv, (void**) &gpio_args);
|
||||
if (nerrors != 0) {
|
||||
arg_print_errors(stderr, info_args.end, argv[0]);
|
||||
arg_print_errors(stderr, gpio_args.end, argv[0]);
|
||||
return 1;
|
||||
}
|
||||
else {
|
||||
@@ -158,7 +158,7 @@ static void register_gpio (void) {
|
||||
|
||||
void register_commands (void) {
|
||||
register_info();
|
||||
//register_gpio();
|
||||
register_gpio();
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user