From 555c0b092538e37626744ee08730da6746bc256a Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Mon, 13 Jan 2025 21:59:41 -0500 Subject: [PATCH] ESP32-Console --- ESP32-Console/main/commands.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index 299c80b1e..fe16417f6 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -44,12 +44,10 @@ static int exec_info_cmd (int argc, char **argv) { } if (info_args.temp->count != 0) { - if (strcmp(info_args.temp->sval[0], "C") == 0) { + if (strcmp(info_args.temp->sval[0], "C") == 0) ESP_LOGI("CLI", "Displaying temperature in Celcius."); - } - if (strcmp(info_args.temp->sval[0], "F") == 0) { + if (strcmp(info_args.temp->sval[0], "F") == 0) ESP_LOGI("CLI", "Displaying temperature in Farenheight."); - } } if (info_args.chip_temp->count != 0) { ESP_LOGW("CLI", "info(): Chip Temperature: %d", 35);