getHighESpeed => autotemp_task
This commit is contained in:
parent
746eae15f3
commit
ed14731146
|
@ -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;
|
||||||
|
|
|
@ -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…
Reference in a new issue