ESP32-Console

This commit is contained in:
2025-01-13 09:30:52 -05:00
parent 314cd7dfc9
commit 40552377e2

View File

@@ -43,6 +43,9 @@ static int exec_info_cmd (int argc, char **argv) {
} }
if (info_args.temp->count != 0) { if (info_args.temp->count != 0) {
if (info_args.temp->sval == "C") {
ESP_LOGI("CLI", "Display temperature in Celcius");
}
ESP_LOGW("CLI", "info(): Chip Temperature: %d", 25); ESP_LOGW("CLI", "info(): Chip Temperature: %d", 25);
} }
return 0; return 0;