(preliminary) fix @ (bed) preHeatError
This commit is contained in:
parent
fd96bde69f
commit
aa0edd09f5
|
|
@ -1301,7 +1301,7 @@ void temp_runaway_check(int _heater_id, float _target_temperature, float _curren
|
||||||
SERIAL_ECHOPGM(" Tstart:");
|
SERIAL_ECHOPGM(" Tstart:");
|
||||||
MYSERIAL.print(__preheat_start[_heater_id]);*/
|
MYSERIAL.print(__preheat_start[_heater_id]);*/
|
||||||
|
|
||||||
if (_current_temperature - __preheat_start[_heater_id] < 2) {
|
if (_current_temperature - __preheat_start[_heater_id] < ((_isbed &&(_current_temperature>105.0))?0.6:2.0)) {
|
||||||
__preheat_errors[_heater_id]++;
|
__preheat_errors[_heater_id]++;
|
||||||
/*SERIAL_ECHOPGM(" Preheat errors:");
|
/*SERIAL_ECHOPGM(" Preheat errors:");
|
||||||
MYSERIAL.println(__preheat_errors[_heater_id]);*/
|
MYSERIAL.println(__preheat_errors[_heater_id]);*/
|
||||||
|
|
@ -1311,7 +1311,7 @@ void temp_runaway_check(int _heater_id, float _target_temperature, float _curren
|
||||||
__preheat_errors[_heater_id] = 0;
|
__preheat_errors[_heater_id] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (__preheat_errors[_heater_id] > ((_isbed) ? 2 : 5))
|
if (__preheat_errors[_heater_id] > ((_isbed) ? 3 : 5))
|
||||||
{
|
{
|
||||||
if (farm_mode) { prusa_statistics(0); }
|
if (farm_mode) { prusa_statistics(0); }
|
||||||
temp_runaway_stop(true, _isbed);
|
temp_runaway_stop(true, _isbed);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue