getHighESpeed => autotemp_task

This commit is contained in:
Scott Lahteine 2021-04-05 21:27:05 -05:00 committed by Scott Lahteine
parent 93dfd411fc
commit ee21e31a17
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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