Scott Lahteine 6 years ago
parent
commit
d1dc863962
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      Marlin/src/module/planner.cpp

+ 1
- 2
Marlin/src/module/planner.cpp View File

1692
 #if ENABLED(AUTOTEMP)
1692
 #if ENABLED(AUTOTEMP)
1693
 
1693
 
1694
   void Planner::autotemp_M104_M109() {
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
     if (parser.seen('S')) autotemp_min = parser.value_celsius();
1696
     if (parser.seen('S')) autotemp_min = parser.value_celsius();
1698
     if (parser.seen('B')) autotemp_max = parser.value_celsius();
1697
     if (parser.seen('B')) autotemp_max = parser.value_celsius();
1699
   }
1698
   }

Loading…
Cancel
Save