Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hammacher <bmasterc@gmail.com>2021-11-22 14:30:52 +0300
committerChristian Hammacher <bmasterc@gmail.com>2021-11-22 14:30:52 +0300
commit5503b58507f2ca199397c14d2d162b7ad53262a0 (patch)
treeb9a3115f88a593daee92842d4637939a4b002c7e
parent8e6a3d0074e931c0c570de4175aa5eff41857d97 (diff)
Minor bug fix for M307
Bug fix: M307 tried to read the A parameter twice
-rw-r--r--src/Heating/Heater.cpp1
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;
}
}