diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index 7b7364347..9700fa4de 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -141,6 +141,7 @@ static void register_gpio (void) { gpio_args.gpio = arg_int0(NULL, "gpio", "", "Specifies GPIO to be used"); gpio_args.mode = arg_str0(NULL, "mode", "", "Sets the mode of GPIO."); + gpio_args.level = arg_int0(NULL, ); const esp_console_cmd_t gpio_cmd = { .command = "GPIO", .help = "Sets/Gets GPIOs",