From 1792ccca44e7640f19153e6ac418ecd9aefc9c0d Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Mon, 13 Jan 2025 09:57:18 -0500 Subject: [PATCH] ESP32-Console --- ESP32-Console/main/commands.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index 078fd3f9e..1f96f43a5 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -48,6 +48,12 @@ static int exec_info_cmd (int argc, char **argv) { } ESP_LOGW("CLI", "info(): Chip Temperature: %d", 25); } + + if (info_args.chip_temp->count != 0) { + if (info_args.chip_temp->ival == 1) { + ESP_LOGI("CLI", "Display temperature in Celcius"); + } + } return 0; } static void register_info (void) {