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