autotemp_factor is not value_celsius_diff
See https://github.com/MarlinFirmware/Marlin/issues/9852#issuecomment-369861822
This commit is contained in:
parent
bdfeb54a9d
commit
5ad60d89a8
@ -1680,8 +1680,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