diff options
author | Christian Hammacher <bmasterc@gmail.com> | 2021-11-22 14:30:52 +0300 |
---|---|---|
committer | Christian Hammacher <bmasterc@gmail.com> | 2021-11-22 14:30:52 +0300 |
commit | 5503b58507f2ca199397c14d2d162b7ad53262a0 (patch) | |
tree | b9a3115f88a593daee92842d4637939a4b002c7e | |
parent | 8e6a3d0074e931c0c570de4175aa5eff41857d97 (diff) |
Minor bug fix for M307
Bug fix: M307 tried to read the A parameter twice
-rw-r--r-- | src/Heating/Heater.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Heating/Heater.cpp b/src/Heating/Heater.cpp index 18615e51..b044b37b 100644 --- a/src/Heating/Heater.cpp +++ b/src/Heating/Heater.cpp @@ -178,7 +178,6 @@ GCodeResult Heater::SetOrReportModel(unsigned int heater, GCodeBuffer& gb, const { // Old style heating model. A = gain, C = cooling time constant seen = true; - const float gain = gb.GetFValue(); heatingRate = gain * basicCoolingRate * 100.0; } } |