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