ESP32-Console

This commit is contained in:
2025-01-13 21:34:15 -05:00
parent 6014a88401
commit c06a030da7

View File

@@ -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);