From a527d1ad18e5aafe90bb19ceb38f9af4a2c1c1c8 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Wed, 15 Jan 2025 09:44:13 -0500 Subject: [PATCH] ESP32-Console --- ESP32-Console/main/commands.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index 9e950b6a5..cb3b291dd 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -147,6 +147,7 @@ static void register_gpio (void) { gpio_args.mode = arg_str0("m", "mode", "", "Sets the mode of GPIO."); gpio_args.level = arg_int0("l", "level", "<1|0>", "Sets the logical level of GPIO."); gpio_args.pwm = arg_int0("f", "pwm", "", "Set PWM for GPIO."); + gpio_args.end = arg_end(2); const esp_console_cmd_t gpio_cmd = { .command = "GPIO", .help = "Sets/Gets GPIOs",