Shut down autotemp in disable_all_heaters
This commit is contained in:
parent
acec237092
commit
6854f08d22
4 changed files with 8 additions and 17 deletions
|
|
@ -27,7 +27,6 @@
|
|||
#ifndef TEMPERATURE_H
|
||||
#define TEMPERATURE_H
|
||||
|
||||
#include "planner.h"
|
||||
#include "thermistortables.h"
|
||||
|
||||
#include "MarlinConfig.h"
|
||||
|
|
@ -418,16 +417,6 @@ class Temperature {
|
|||
*/
|
||||
static void updatePID();
|
||||
|
||||
#if ENABLED(AUTOTEMP)
|
||||
static void autotempShutdown() {
|
||||
if (planner.autotemp_enabled) {
|
||||
planner.autotemp_enabled = false;
|
||||
if (degTargetHotend(EXTRUDER_IDX) > planner.autotemp_min)
|
||||
setTargetHotend(0, EXTRUDER_IDX);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#if ENABLED(BABYSTEPPING)
|
||||
|
||||
static void babystep_axis(const AxisEnum axis, const int distance) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue