diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-11-23 01:42:57 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-11-23 01:42:57 +0300 |
commit | 9045f04fedcd6c5d78b9aad18ff71655d9ad71ae (patch) | |
tree | d1b93a531e6da891d3eda369fe0d1bae8f7aa35c | |
parent | cb5606e536862ba545b47a4498d94ff462a641fb (diff) |
Corrected heating fault error message
-rw-r--r-- | src/Heating/LocalHeater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Heating/LocalHeater.cpp b/src/Heating/LocalHeater.cpp index 79847e02..b105d6ea 100644 --- a/src/Heating/LocalHeater.cpp +++ b/src/Heating/LocalHeater.cpp @@ -319,7 +319,7 @@ void LocalHeater::Spin() noexcept if (heatingFaultCount * HeatSampleIntervalMillis > GetMaxHeatingFaultTime() * SecondsToMillis) { RaiseHeaterFault("Heater %u fault: at %.1f" DEGREE_SYMBOL "C temperature is rising at %.1f" DEGREE_SYMBOL "C/sec, well below the expected %.1f" DEGREE_SYMBOL "C/sec\n", - GetHeaterNumber(), (double)temperature, (double)derivative, (double)expectedRate); + GetHeaterNumber(), (double)temperature, (double)(actualTemperatureRise/actualInterval), (double)expectedRate); } } else |