Skip to content

Commit

Permalink
fix status leds at startup (#448)
Browse files Browse the repository at this point in the history
* Status leds on startup fix
  • Loading branch information
Benoitone authored and Frix-x committed Feb 13, 2024
1 parent 562ba0a commit 7e1ed94
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion macros/miscs/startup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ gcode:
_INIT_CHECK_MMU
{% endif %}

## Set the startup status LED
_INIT_LEDS

# User custom startup process. Define them in your overrides.cfg if needed :)
_INIT_USERCUSTOM

Expand All @@ -49,7 +52,7 @@ gcode:

[gcode_macro _INIT_LEDS]
gcode:
{% if printer["gcode_macro _USER_VARIABLES"].status_leds_enabled %}
{% if printer["gcode_macro _USER_VARIABLES"].status_leds_enabled or printer["gcode_macro _USER_VARIABLES"].status_leds_caselight_enabled %}
{% if printer["gcode_macro _USER_VARIABLES"].caselight_on_at_startup|default(False) %}
STATUS_LEDS COLOR="READY"
{% else %}
Expand Down

0 comments on commit 7e1ed94

Please sign in to comment.