From 1894ba31a60e5230cd1bb5a8df4d03f403b907eb Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Mon, 13 Jan 2025 09:25:07 -0500 Subject: [PATCH] ESP32-Console --- ESP32-Console/main/commands.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index 6903cd376..f4d12303b 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -43,13 +43,13 @@ static int exec_info_cmd (int argc, char **argv) { } if (info_args.temp->count != 0) { - ESP_LOGW("CLI", "info(): Chip Temperature %d", 25); + ESP_LOGW("CLI", "info(): Chip Temperature: %d", 25); } return 0; } static void register_info (void) { - 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_str0("t", "temp", "", "Diplays the chip temperature."); + info_args.voltage = arg_str0("v", "voltage", "", "Display voltage."); //info_args.temp = arg_litn("t", "temp", 0, 1, "chip temperature"); //info_args.detail = arg_str1(NULL, "gpio", "", "Diplays the GPIO level."); info_args.end = arg_end(2);