From d1dc863962f94a09bd8443657b559ade1a2f5614 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 3 Mar 2018 23:27:02 -0600 Subject: [PATCH] autotemp_factor is not value_celsius_diff See https://github.com/MarlinFirmware/Marlin/issues/9852#issuecomment-369861822 --- Marlin/src/module/planner.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Marlin/src/module/planner.cpp b/Marlin/src/module/planner.cpp index cb8f3ea99e..0aa76d0240 100644 --- a/Marlin/src/module/planner.cpp +++ b/Marlin/src/module/planner.cpp @@ -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(); }