From 811446fcb183b0041acef093785c4c7f800735b9 Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Tue, 14 Sep 2021 21:48:41 +1000 Subject: [PATCH] Update TipThermoModel.cpp --- source/Core/Drivers/TipThermoModel.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/Core/Drivers/TipThermoModel.cpp b/source/Core/Drivers/TipThermoModel.cpp index f283f3bf..cd4076d4 100644 --- a/source/Core/Drivers/TipThermoModel.cpp +++ b/source/Core/Drivers/TipThermoModel.cpp @@ -72,9 +72,10 @@ uint32_t TipThermoModel::convertFtoC(uint32_t degF) { uint32_t TipThermoModel::getTipInC(bool sampleNow) { int32_t currentTipTempInC = TipThermoModel::convertTipRawADCToDegC(getTipRawTemp(sampleNow)); currentTipTempInC += getHandleTemperature(sampleNow) / 10; // Add handle offset - // Power usage indicates that our tip temp is lower than our thermocouple temp. - // I found a number that doesn't unbalance the existing PID, causing overshoot. - // This could be tuned in concert with PID parameters... + + // Power usage indicates that our tip temp is lower than our thermocouple temp. + // I found a number that doesn't unbalance the existing PID, causing overshoot. + // This could be tuned in concert with PID parameters... #ifdef THERMAL_MASS_OVERSHOOTS currentTipTempInC += x10WattHistory.average() / 25; #else