Merge pull request #1726 from MRprusa3d/PFW-827

(preliminary) fix @ preHeatError III
This commit is contained in:
PavelSindler 2019-04-12 21:59:26 +02:00 committed by GitHub
commit 59b04aaac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1129,6 +1129,8 @@ void temp_runaway_check(int _heater_id, float _target_temperature, float _curren
if (_isbed)
{
__hysteresis = TEMP_RUNAWAY_BED_HYSTERESIS;
if(_target_temperature>105.0)
__hysteresis = TEMP_RUNAWAY_BED_HYSTERESIS * 3.0;
__timeout = TEMP_RUNAWAY_BED_TIMEOUT;
}
#endif