From a925fb4ce5354b29756dbd45304486c203306e33 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Mon, 13 Jan 2025 09:19:45 -0500 Subject: [PATCH] ESP32-Console --- ESP32-Console/build/.ninja_lock | 0 ESP32-Console/main/commands.h | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 ESP32-Console/build/.ninja_lock diff --git a/ESP32-Console/build/.ninja_lock b/ESP32-Console/build/.ninja_lock new file mode 100644 index 000000000..e69de29bb diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index 0a545db6c..1ae91a6f2 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -48,7 +48,7 @@ static int exec_info_cmd (int argc, char **argv) { return 0; } static void register_info (void) { - info_args.temp = arg_str0("t", "temp", "", "Diplays the chip temperature."); + info_args.temp = arg_str0("t", "temp", NULL, "Diplays the chip temperature."); info_args.voltage = arg_str0("v", "voltage", "", "Display viltage."); //info_args.temp = arg_litn("t", "temp", 0, 1, "chip temperature"); //info_args.detail = arg_str1(NULL, "gpio", "", "Diplays the GPIO level.");