diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index da8644607..5983ee03b 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, 'C')) { + if (strcmp(info_args.temp->sval, "C")) { ESP_LOGI("CLI", "Display temperature in Celcius"); } ESP_LOGW("CLI", "info(): Chip Temperature: %d", 25);