ESP32-Console

This commit is contained in:
2025-01-13 21:59:41 -05:00
parent aa8f7ce794
commit 555c0b0925

View File

@@ -44,13 +44,11 @@ static int exec_info_cmd (int argc, char **argv) {
} }
if (info_args.temp->count != 0) { 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."); 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."); ESP_LOGI("CLI", "Displaying temperature in Farenheight.");
} }
}
if (info_args.chip_temp->count != 0) { if (info_args.chip_temp->count != 0) {
ESP_LOGW("CLI", "info(): Chip Temperature: %d", 35); ESP_LOGW("CLI", "info(): Chip Temperature: %d", 35);
} }