From b8b1ab9588f149c59e49fbdbb8320420b0529da4 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Fri, 10 Jan 2025 17:28:09 -0500 Subject: [PATCH] ESP32-Console --- ESP32-Console/main/commands.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index accc8f65e..ca47f4f3f 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -1,10 +1,14 @@ #ifndef COMMANDS_H #define COMMANDS_H +static struct { + struct arg_int *detail; + struct arg_int *temp; + struct arg_int *voltage; +} info_args; static int do_info_cmd (int argc, char **argv) { return 0; } - static void register_info (void) { const esp_console_cmd_t info_cmd = { .command = "info",