Skip to content

Commit

Permalink
also enable fcob light when caselight_on_at_startup (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpolito authored Jan 8, 2025
1 parent 1337dce commit 05bfcf0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions macros/miscs/startup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,14 @@ gcode:
gcode:
{% 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) %}
{% if printer["gcode_macro _USER_VARIABLES"].light_enabled %}
LIGHT_ON
{% endif %}
STATUS_LEDS COLOR="READY"
{% else %}
{% if printer["gcode_macro _USER_VARIABLES"].light_enabled %}
LIGHT_OFF
{% endif %}
STATUS_LEDS COLOR="OFF"
{% endif %}
{% endif %}
Expand Down

0 comments on commit 05bfcf0

Please sign in to comment.