|
@ -27,7 +27,6 @@ |
|
|
#ifndef TEMPERATURE_H |
|
|
#ifndef TEMPERATURE_H |
|
|
#define TEMPERATURE_H |
|
|
#define TEMPERATURE_H |
|
|
|
|
|
|
|
|
#include "planner.h" |
|
|
|
|
|
#include "thermistortables.h" |
|
|
#include "thermistortables.h" |
|
|
|
|
|
|
|
|
#include "MarlinConfig.h" |
|
|
#include "MarlinConfig.h" |
|
@ -418,16 +417,6 @@ class Temperature { |
|
|
*/ |
|
|
*/ |
|
|
static void updatePID(); |
|
|
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) |
|
|
#if ENABLED(BABYSTEPPING) |
|
|
|
|
|
|
|
|
static void babystep_axis(const AxisEnum axis, const int distance) { |
|
|
static void babystep_axis(const AxisEnum axis, const int distance) { |
|
|