Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 0 additions & 6 deletions printer_configs/macros.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -422,12 +422,6 @@ gcode:
variable_trigger_allowed: False
gcode:
{% if trigger_allowed %}
# Reset button state, otherwise only one trigger can occur
SET_PIN PIN=_clear_power_off VALUE=1
# There is a deboucing circuit which needs some delay
G4 P500
# Disable pin again otherwise on reset the button will be triggered 1-3 times
SET_PIN PIN=_clear_power_off VALUE=0
RESPOND TYPE=error MSG="Shutdown triggered by button"
SHUTDOWN
{% endif %}
Expand Down
5 changes: 0 additions & 5 deletions printer_configs/printer.base.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,6 @@ pin: PC14
value: 1
shutdown_value: 1

[output_pin _clear_power_off]
pin: PG1
value: 0
shutdown_value: 0

[adxl345]
cs_pin: eboard:PA4
spi_speed: 1000000
Expand Down