1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-24 12:35:51 +00:00

autotemp_factor is not value_celsius_diff

See https://github.com/MarlinFirmware/Marlin/issues/9852#issuecomment-369861822
This commit is contained in:
Scott Lahteine 2018-03-03 23:27:02 -06:00
parent f3914a432e
commit d1dc863962

View File

@ -1692,8 +1692,7 @@ void Planner::refresh_positioning() {
#if ENABLED(AUTOTEMP)
void Planner::autotemp_M104_M109() {
autotemp_enabled = parser.seen('F');
if (autotemp_enabled) autotemp_factor = parser.value_celsius_diff();
if ((autotemp_enabled = parser.seen('F'))) autotemp_factor = parser.value_float();
if (parser.seen('S')) autotemp_min = parser.value_celsius();
if (parser.seen('B')) autotemp_max = parser.value_celsius();
}