ESP32-Console

This commit is contained in:
2025-01-15 09:19:46 -05:00
parent 4f241c9fb5
commit c012d6c4cb

View File

@@ -134,9 +134,10 @@ static int exec_gpio_cmd (int argc, char **argv) {
arg_print_errors(stderr, info_args.end, argv[0]); arg_print_errors(stderr, info_args.end, argv[0]);
return 1; return 1;
} }
else else {
return 0; return 0;
} }
}
static void register_gpio (void) { static void register_gpio (void) {
gpio_args.gpio = arg_int0(NULL, "gpio", "<pin>", "Specifies GPIO to be used"); gpio_args.gpio = arg_int0(NULL, "gpio", "<pin>", "Specifies GPIO to be used");