Browse Source

getHighESpeed => autotemp_task

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
committed by Scott Lahteine
parent
commit
ee21e31a17
  1. 4
      Marlin/src/module/planner.cpp
  2. 2
      Marlin/src/module/planner.h

4
Marlin/src/module/planner.cpp

@ -1382,7 +1382,7 @@ void Planner::check_axes_activity() {
sync_fan_speeds(tail_fan_speed);
#endif
TERN_(AUTOTEMP, getHighESpeed());
TERN_(AUTOTEMP, autotemp_task());
#if ENABLED(BARICUDA)
TERN_(HAS_HEATER_1, analogWrite(pin_t(HEATER_1_PIN), tail_valve_pressure));
@ -1432,7 +1432,7 @@ void Planner::check_axes_activity() {
* based on the extrusion speed, which is calculated from the blocks
* currently in the planner.
*/
void Planner::getHighESpeed() {
void Planner::autotemp_task() {
static float oldt = 0;
if (!autotemp_enabled) return;

2
Marlin/src/module/planner.h

@ -926,7 +926,7 @@ class Planner {
static bool autotemp_enabled;
static void autotemp_update();
static void autotemp_M104_M109();
static void getHighESpeed();
static void autotemp_task();
#endif
#if HAS_LINEAR_E_JERK

Loading…
Cancel
Save