From c06a030da734b16a879d9b0789563c59aa397c43 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Mon, 13 Jan 2025 21:34:15 -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 50e7854f6..d15dc7cf8 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -43,7 +43,7 @@ static int exec_info_cmd (int argc, char **argv) { } if (info_args.temp->count != 0) { - if (strcmp(info_args.temp->sval[0], "C")) { + if (strcmp(info_args.temp->sval[0], "C") == 0) { ESP_LOGI("CLI", "Display temperature in Celcius"); } ESP_LOGW("CLI", "info(): Chip Temperature: %d", 25);