Declare pid_output for PIDBEDTEMP

This commit is contained in:
Scott Lahteine 2015-03-13 20:19:51 -07:00
parent 3d6deb9bdf
commit cb57fc727d

View File

@ -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;