From 40552377e2a61b590e15814f2fccb63d49e82fa2 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Mon, 13 Jan 2025 09:30:52 -0500 Subject: [PATCH] ESP32-Console --- ESP32-Console/main/commands.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index 754833314..ff4ddc6fc 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -43,6 +43,9 @@ static int exec_info_cmd (int argc, char **argv) { } if (info_args.temp->count != 0) { + if (info_args.temp->sval == "C") { + ESP_LOGI("CLI", "Display temperature in Celcius"); + } ESP_LOGW("CLI", "info(): Chip Temperature: %d", 25); } return 0;