Browse Source

getHighESpeed => autotemp_task

vanilla_fb_2.0.x
Scott Lahteine 3 years ago
parent
commit
ed14731146
  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); sync_fan_speeds(tail_fan_speed);
#endif #endif
TERN_(AUTOTEMP, getHighESpeed()); TERN_(AUTOTEMP, autotemp_task());
#if ENABLED(BARICUDA) #if ENABLED(BARICUDA)
TERN_(HAS_HEATER_1, analogWrite(pin_t(HEATER_1_PIN), tail_valve_pressure)); 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 * based on the extrusion speed, which is calculated from the blocks
* currently in the planner. * currently in the planner.
*/ */
void Planner::getHighESpeed() { void Planner::autotemp_task() {
static float oldt = 0; static float oldt = 0;
if (!autotemp_enabled) return; if (!autotemp_enabled) return;

2
Marlin/src/module/planner.h

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

Loading…
Cancel
Save