Browse Source

getHighESpeed => autotemp_task

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

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

1382
     sync_fan_speeds(tail_fan_speed);
1382
     sync_fan_speeds(tail_fan_speed);
1383
   #endif
1383
   #endif
1384
 
1384
 
1385
-  TERN_(AUTOTEMP, getHighESpeed());
1385
+  TERN_(AUTOTEMP, autotemp_task());
1386
 
1386
 
1387
   #if ENABLED(BARICUDA)
1387
   #if ENABLED(BARICUDA)
1388
     TERN_(HAS_HEATER_1, analogWrite(pin_t(HEATER_1_PIN), tail_valve_pressure));
1388
     TERN_(HAS_HEATER_1, analogWrite(pin_t(HEATER_1_PIN), tail_valve_pressure));
1432
    * based on the extrusion speed, which is calculated from the blocks
1432
    * based on the extrusion speed, which is calculated from the blocks
1433
    * currently in the planner.
1433
    * currently in the planner.
1434
    */
1434
    */
1435
-  void Planner::getHighESpeed() {
1435
+  void Planner::autotemp_task() {
1436
     static float oldt = 0;
1436
     static float oldt = 0;
1437
 
1437
 
1438
     if (!autotemp_enabled) return;
1438
     if (!autotemp_enabled) return;

+ 1
- 1
Marlin/src/module/planner.h View File

926
       static bool autotemp_enabled;
926
       static bool autotemp_enabled;
927
       static void autotemp_update();
927
       static void autotemp_update();
928
       static void autotemp_M104_M109();
928
       static void autotemp_M104_M109();
929
-      static void getHighESpeed();
929
+      static void autotemp_task();
930
     #endif
930
     #endif
931
 
931
 
932
     #if HAS_LINEAR_E_JERK
932
     #if HAS_LINEAR_E_JERK

Loading…
Cancel
Save