Tweak to M330 thermal protection
This commit is contained in:
parent
0e4b6b373d
commit
524f4ee0cf
@ -229,13 +229,13 @@ uint8_t Temperature::soft_pwm_amount[HOTENDS],
|
|||||||
max = 0, min = 10000;
|
max = 0, min = 10000;
|
||||||
|
|
||||||
#if WATCH_THE_BED || WATCH_HOTENDS
|
#if WATCH_THE_BED || WATCH_HOTENDS
|
||||||
const float watch_temp_target =
|
const float watch_temp_target = temp -
|
||||||
#if ENABLED(THERMAL_PROTECTION_BED) && ENABLED(PIDTEMPBED) && ENABLED(THERMAL_PROTECTION_HOTENDS) && ENABLED(PIDTEMP)
|
#if ENABLED(THERMAL_PROTECTION_BED) && ENABLED(PIDTEMPBED) && ENABLED(THERMAL_PROTECTION_HOTENDS) && ENABLED(PIDTEMP)
|
||||||
hotend < 0 ? temp - (WATCH_BED_TEMP_INCREASE + TEMP_BED_HYSTERESIS + 1) : temp - (WATCH_TEMP_INCREASE + TEMP_HYSTERESIS + 1)
|
(hotend < 0 ? (WATCH_BED_TEMP_INCREASE + TEMP_BED_HYSTERESIS + 1) : (WATCH_TEMP_INCREASE + TEMP_HYSTERESIS + 1))
|
||||||
#elif ENABLED(THERMAL_PROTECTION_BED) && ENABLED(PIDTEMPBED)
|
#elif ENABLED(THERMAL_PROTECTION_BED) && ENABLED(PIDTEMPBED)
|
||||||
temp - (WATCH_BED_TEMP_INCREASE + TEMP_BED_HYSTERESIS + 1)
|
(WATCH_BED_TEMP_INCREASE + TEMP_BED_HYSTERESIS + 1)
|
||||||
#else
|
#else
|
||||||
temp - (WATCH_TEMP_INCREASE + TEMP_HYSTERESIS + 1)
|
(WATCH_TEMP_INCREASE + TEMP_HYSTERESIS + 1)
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
const int8_t watch_temp_period =
|
const int8_t watch_temp_period =
|
||||||
|
Loading…
Reference in New Issue
Block a user