diff --git a/config/CreatBot_D1000/base.cfg b/config/CreatBot_D1000/base.cfg index d31816a1b..46b9a4bd5 100644 --- a/config/CreatBot_D1000/base.cfg +++ b/config/CreatBot_D1000/base.cfg @@ -831,13 +831,13 @@ gcode: {% set door_function = sv.door_detect|default("Disabled") %} {% set door_state = printer['gcode_button _door_detection'].state|default('released')|lower %} - {% if door_function == 'Pause Print' and door_state == 'pressed' %} - { resume_action() } - {% elif door_function == 'Pause Print' and door_state == 'released' %} + {% if door_function == 'Pause Print' and door_state == 'released' %} RESPOND TYPE=command MSG="action:prompt_begin" RESPOND TYPE=command MSG="action:prompt_text Please close the door and click Resume to proceed." RESPOND TYPE=command MSG="action:prompt_footer_button Ok|RESPOND TYPE=command MSG=action:prompt_end" RESPOND TYPE=command MSG="action:prompt_show" + {% else %} + { resume_action() } {% endif %} {% else %} { resume_action() } diff --git a/config/CreatBot_D600Pro2/base.cfg b/config/CreatBot_D600Pro2/base.cfg index 4e8e0e296..47be8d55b 100644 --- a/config/CreatBot_D600Pro2/base.cfg +++ b/config/CreatBot_D600Pro2/base.cfg @@ -833,13 +833,13 @@ gcode: {% set door_function = sv.door_detect|default("Disabled") %} {% set door_state = printer['gcode_button _door_detection'].state|default('released')|lower %} - {% if door_function == 'Pause Print' and door_state == 'pressed' %} - { resume_action() } - {% elif door_function == 'Pause Print' and door_state == 'released' %} + {% if door_function == 'Pause Print' and door_state == 'released' %} RESPOND TYPE=command MSG="action:prompt_begin" RESPOND TYPE=command MSG="action:prompt_text Please close the door and click Resume to proceed." RESPOND TYPE=command MSG="action:prompt_footer_button Ok|RESPOND TYPE=command MSG=action:prompt_end" RESPOND TYPE=command MSG="action:prompt_show" + {% else %} + { resume_action() } {% endif %} {% else %} { resume_action() }