1
0
forked from me/IronOS

Updated cold junction temp curve

* Disabled the hack off on temp as we dont need it for MHP30
* faster ADC on MHP30
This commit is contained in:
Ben V. Brown
2021-05-02 15:45:45 +10:00
parent 018b984665
commit 7a5c0ad20f
9 changed files with 191 additions and 33 deletions

View File

@@ -75,7 +75,9 @@ uint32_t TipThermoModel::getTipInC(bool sampleNow) {
// 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...
#ifndef NO_THERMAL_MASS_COMP
currentTipTempInC -= x10WattHistory.average() / 25;
#endif
if (currentTipTempInC < 0)
return 0;
return currentTipTempInC;