mirror of
https://github.com/bassamanator/Sovol-SV06-firmware.git
synced 2025-11-08 21:41:15 +00:00
Add a minimum bed temperature of 0 degrees
If the bed temperature is less than 2, the print job fails with an error message complaining about an invalid temperature. This happens, for instance, when printing ABS where the bed is not supposed to be heated. This change makes sure that the bed temperature cannot be negative.
This commit is contained in:
@@ -135,7 +135,7 @@ gcode:
|
||||
{% set startY = printer.configfile.settings.safe_z_home.home_xy_position[1]|float %}
|
||||
{% endif %}
|
||||
|
||||
{% set bedtempAlmost = (bedtemp - 2)|int %}
|
||||
{% set bedtempAlmost = (bedtemp - 2, 0)|max %}
|
||||
{% set hotendtempStepOne = 150|int %}
|
||||
{% set hotendtempStepTwo = 170|int %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user