autotemp_factor is not value_celsius_diff
See https://github.com/MarlinFirmware/Marlin/issues/9852#issuecomment-369861822
This commit is contained in:
parent
f3914a432e
commit
d1dc863962
@ -1692,8 +1692,7 @@ void Planner::refresh_positioning() {
|
|||||||
#if ENABLED(AUTOTEMP)
|
#if ENABLED(AUTOTEMP)
|
||||||
|
|
||||||
void Planner::autotemp_M104_M109() {
|
void Planner::autotemp_M104_M109() {
|
||||||
autotemp_enabled = parser.seen('F');
|
if ((autotemp_enabled = parser.seen('F'))) autotemp_factor = parser.value_float();
|
||||||
if (autotemp_enabled) autotemp_factor = parser.value_celsius_diff();
|
|
||||||
if (parser.seen('S')) autotemp_min = parser.value_celsius();
|
if (parser.seen('S')) autotemp_min = parser.value_celsius();
|
||||||
if (parser.seen('B')) autotemp_max = parser.value_celsius();
|
if (parser.seen('B')) autotemp_max = parser.value_celsius();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user