From ea287411042a121db0dae08403e94bfd225ef9de Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Mon, 13 Jan 2025 10:06:50 -0500 Subject: [PATCH] ESP32-Console --- ESP32-Console/main/commands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index 5983ee03b..e179b5044 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -57,7 +57,7 @@ static int exec_info_cmd (int argc, char **argv) { static void register_info (void) { info_args.temp = arg_str0("t", "temp", "", "Diplays the chip temperature."); info_args.voltage = arg_str0("v", "voltage", "", "Displays voltage."); - info_args.chip_temp = arg_litn("T", "temperature", 0, 1, "Display chip temperature."); + info_args.chip_temp = arg_lit0("T", "temperature", "print the chip temperature."); //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);