setTargetHotendSafe change
This commit is contained in:
parent
ad86362fb3
commit
efdd3bc998
|
|
@ -133,10 +133,7 @@ FORCE_INLINE void setTargetHotend(const float &celsius, uint8_t extruder) {
|
|||
|
||||
static inline void setTargetHotendSafe(const float &celsius, uint8_t extruder)
|
||||
{
|
||||
if (extruder<EXTRUDERS) {
|
||||
target_temperature[extruder] = celsius;
|
||||
resetPID[extruder];
|
||||
}
|
||||
if (extruder<EXTRUDERS) target_temperature[extruder] = celsius;
|
||||
}
|
||||
|
||||
static inline void setAllTargetHotends(const float &celsius)
|
||||
|
|
|
|||
Loading…
Reference in New Issue