Add'l PLR options, AVR strstr_P compat (#13880)

This commit is contained in:
Tanguy Pruvot
2019-05-08 03:38:40 +02:00
committed by Scott Lahteine
parent 5dcb25664f
commit 11adcf1ce3
84 changed files with 345 additions and 169 deletions

View File

@ -853,8 +853,14 @@
*/
#define POWER_LOSS_RECOVERY
#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_PIN 65 // Pin to detect power loss
#define POWER_LOSS_STATE LOW // State of pin indicating power loss
//#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.
// 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
/**