Explorar o código

Merge pull request #1726 from MRprusa3d/PFW-827

(preliminary) fix @ preHeatError III
PavelSindler %!s(int64=5) %!d(string=hai) anos
pai
achega
59b04aaac7
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Firmware/temperature.cpp

+ 2 - 0
Firmware/temperature.cpp

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