Add a minimum Z change option to power-loss recovery (#13859)

This commit is contained in:
Robby Candra
2019-05-03 10:29:05 +07:00
committed by Scott Lahteine
parent c369477cb0
commit 0181e57417
73 changed files with 295 additions and 4 deletions

View File

@ -805,6 +805,10 @@
#if ENABLED(POWER_LOSS_RECOVERY)
//#define POWER_LOSS_PIN 44 // Pin to detect power loss
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
// Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
// especially with "vase mode" printing. Set too high and vases cannot be continued.
#define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
#endif
/**