refine logging
This commit is contained in:
14
src/main.cpp
14
src/main.cpp
@@ -138,7 +138,17 @@ void printStatus(float avgTemp, float minTemp, float maxTemp) {
|
||||
Serial.print(thermal.isFailSafeActive() ? F("YES") : F("no"));
|
||||
Serial.print(F(" mode="));
|
||||
if (thermal.isAutotuning()) {
|
||||
Serial.print(F("autotune"));
|
||||
Serial.print(F("autotune/"));
|
||||
Serial.print(thermal.autotunePhaseName());
|
||||
Serial.print(F(" "));
|
||||
Serial.print(thermal.autotuneElapsedMs(millis()) / 1000UL);
|
||||
Serial.print(F("s "));
|
||||
Serial.print(thermal.autotuneCycleCount());
|
||||
Serial.print(F("/"));
|
||||
Serial.print(AUTOTUNE_CYCLES_REQUIRED);
|
||||
Serial.print(F("cyc pre>="));
|
||||
Serial.print(thermal.autotunePreheatTargetC(), 0);
|
||||
Serial.print(F("C"));
|
||||
} else if (thermal.isAdaptive()) {
|
||||
Serial.print(F("learned"));
|
||||
} else {
|
||||
@@ -284,7 +294,7 @@ void processSerialLine(const char *line) {
|
||||
Serial.println(F("ERR autotune already running"));
|
||||
return;
|
||||
}
|
||||
Serial.println(F("OK autotune started — keep chamber closed, wait ~10-20 min"));
|
||||
Serial.println(F("OK autotune started — preheat then relay, typically 15-40 min"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user