Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status leds on startup fix #448

Merged
merged 2 commits into from
Feb 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 or printer["gcode_macro _USER_VARIABLES"].light_enabled %}
Frix-x marked this conversation as resolved.
Show resolved Hide resolved
Benoitone marked this conversation as resolved.
Show resolved Hide resolved
{% if printer["gcode_macro _USER_VARIABLES"].caselight_on_at_startup|default(False) %}
STATUS_LEDS COLOR="READY"
{% else %}
Expand Down