diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index 8cc0fd2fa..e1b344408 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -122,7 +122,13 @@ static void register_info (void) { } static void register_gpio (void) { - const esp_console_cmd_t info_cmd = {}; + const esp_console_cmd_t info_cmd = { + .command = "GPIO", + .help = "Sets/Gets GPIOs", + .hint = NULL, + .func = &exec, + .argtable = &gpio_args + }; } void register_commands (void) {