Fix: display target extruder temperature on the main screen when doing

PID calibration
This commit is contained in:
DRracer 2019-05-07 16:15:42 +02:00
parent ffbdb43881
commit 0124fbf9ee
2 changed files with 4 additions and 0 deletions

2
Firmware/temperature.cpp Normal file → Executable file
View file

@ -264,11 +264,13 @@ static void temp_runaway_stop(bool isPreheat, bool isBed);
soft_pwm_bed = (MAX_BED_POWER)/2;
timer02_set_pwm0(soft_pwm_bed << 1);
bias = d = (MAX_BED_POWER)/2;
target_temperature_bed = (int)temp; // to display the requested target bed temperature properly on the main screen
}
else
{
soft_pwm[extruder] = (PID_MAX)/2;
bias = d = (PID_MAX)/2;
target_temperature[extruder] = (int)temp; // to display the requested target extruder temperature properly on the main screen
}