Output error for disabled M303

This commit is contained in:
Scott Lahteine
2016-04-18 19:01:49 -07:00
parent 09c6323b68
commit ba66336503
4 changed files with 13 additions and 1 deletions

View File

@@ -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++) {