Pulling in from master.

This commit is contained in:
Bassam Husain
2023-04-13 17:34:34 -04:00
parent 1a5c935c54
commit 70557d38d3

View File

@@ -123,12 +123,13 @@ gcode:
# Set safe speeds
{% set maxVelocity = printer.configfile.settings.printer.max_velocity|default(200)|int %}
{% set maxVelocityAdjusted = (0.95 * maxVelocity * 60)|int %}
{% set maxVelocityAdjusted = (0.90 * maxVelocity * 60)|int %}
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1
G90
M140 S{bedtemp} ; set & don't wait for bed temp
M104 S150 ; set & don't wait for hotend temp
G28 X Y
M190 S{bedtemp} ; set & wait for bed temp
@@ -144,7 +145,7 @@ gcode:
[gcode_macro PRINT_END]
gcode:
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=0
CONDITIONAL_BEEP I=2 DUR=30 FREQ=8500 ; NOTE Comment out this line to stop the beeps at the end of a print
CONDITIONAL_BEEP I=2 DUR=30 FREQ=8500
{% set PRE_PURGE_PRIME_LENGTH=printer["gcode_macro _globals"].pre_purge_prime_length|default(1.40)|float %}
M400 ; wait for buffer to clear