nightly 20200929

This commit is contained in:
jomjol
2020-09-29 19:13:16 +02:00
parent 6e26fa6e3c
commit f8e8c756ab
8 changed files with 13 additions and 6 deletions

View File

@@ -438,7 +438,10 @@ void task_autodoFlow(void *pvParameter)
LogFile.WriteToFile("task_autodoFlow - round done");
//CPU Temp
float cputmp = temperatureRead();
// LogFile.WriteToFile("CPU Temperature: %.2f", cputmp);
std::stringstream stream;
stream << std::fixed << std::setprecision(1) << cputmp;
string zwtemp = "CPU Temperature: " + stream.str();
LogFile.WriteToFile(zwtemp);
printf("CPU Temperature: %.2f\n", cputmp);
fr_delta_ms = (esp_timer_get_time() - fr_start) / 1000;
const TickType_t xDelay = (auto_intervall - fr_delta_ms) / portTICK_PERIOD_MS;