Declare pid_output for PIDBEDTEMP

2.0.x
Scott Lahteine 10 years ago
parent 3d6deb9bdf
commit cb57fc727d

@ -131,8 +131,6 @@ static volatile bool temp_meas_ready = false;
static float pid_error[EXTRUDERS];
static float temp_iState_min[EXTRUDERS];
static float temp_iState_max[EXTRUDERS];
// static float pid_input[EXTRUDERS];
// static float pid_output[EXTRUDERS];
static bool pid_reset[EXTRUDERS];
#endif //PIDTEMP
#ifdef PIDTEMPBED
@ -710,7 +708,7 @@ void manage_heater() {
#endif
#ifdef PIDTEMPBED
pid_output = get_pid_output_bed();
float pid_output = get_pid_output_bed();
soft_pwm_bed = current_temperature_bed > BED_MINTEMP && current_temperature_bed < BED_MAXTEMP ? (int)pid_output >> 1 : 0;

Loading…
Cancel
Save