From cf9479dfb2f2372746f15d860e184884dcfb2cb5 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Wed, 15 Jan 2025 08:56:08 -0500 Subject: [PATCH] ESP32-Console --- ESP32-Console/main/commands.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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) {