diff --git a/machine/stealthburner_led_effects_barf.cfg b/machine/stealthburner_led_effects_barf.cfg index a5f9485..6fe01de 100644 --- a/machine/stealthburner_led_effects_barf.cfg +++ b/machine/stealthburner_led_effects_barf.cfg @@ -301,6 +301,13 @@ gcode: set_nozzle_leds_on SET_LED LED=fysetc_mini12864 RED=0 GREEN=0 BLUE=1 INDEX=3 TRANSMIT=1 +[gcode_macro status_error] +gcode: + STOP_LED_EFFECTS + WLED_ON PRESET=2 + SET_LED_EFFECT EFFECT=critical_error FADE=0 + SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 TRANSMIT=1 + [gcode_macro status_heating] gcode: WLED_ON PRESET=6 diff --git a/macros/CANCEL_PRINT.cfg b/macros/CANCEL_PRINT.cfg index 4fcd92b..13c6feb 100644 --- a/macros/CANCEL_PRINT.cfg +++ b/macros/CANCEL_PRINT.cfg @@ -4,7 +4,7 @@ rename_existing: CANCEL_PRINT_BASE variable_park: True gcode: M117 Print Canceled - WLED_ON PRESET=2 + STATUS_ERROR ## Move head and retract only if not already in the pause state and park set to true {% if printer.pause_resume.is_paused|lower == 'false' and park|lower == 'true'%} _TOOLHEAD_PARK_PAUSE_CANCEL