Output error for disabled M303
This commit is contained in:
@@ -221,6 +221,8 @@ static void updateTemperaturesFromRawValues();
|
||||
//================================ Functions ================================
|
||||
//===========================================================================
|
||||
|
||||
#if ENABLED(PIDTEMP)
|
||||
|
||||
void PID_autotune(float temp, int extruder, int ncycles, bool set_result/*=false*/) {
|
||||
float input = 0.0;
|
||||
int cycles = 0;
|
||||
@@ -392,6 +394,8 @@ void PID_autotune(float temp, int extruder, int ncycles, bool set_result/*=false
|
||||
}
|
||||
}
|
||||
|
||||
#endif // PIDTEMP
|
||||
|
||||
void updatePID() {
|
||||
#if ENABLED(PIDTEMP)
|
||||
for (int e = 0; e < EXTRUDERS; e++) {
|
||||
|
Reference in New Issue
Block a user