mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-24 15:13:54 -06:00
Allow pullup/downs on power loss pin (#14986)
This commit is contained in:
parent
19e21a8f10
commit
67f8ba6fed
101 changed files with 122 additions and 1 deletions
|
@ -935,6 +935,7 @@
|
|||
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||
#define POWER_LOSS_PIN 65 // Pin to detect power loss
|
||||
#define POWER_LOSS_STATE LOW // State of pin indicating power loss
|
||||
//#define POWER_LOSS_PULL // Set pullup / pulldown as appropriate
|
||||
//#define POWER_LOSS_PURGE_LEN 20 // (mm) Length of filament to purge on resume
|
||||
//#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue