Default on/off for Power Loss Recovery (#17051)
This commit is contained in:
committed by
GitHub
parent
ad4a9eb73a
commit
552f7a91d0
@ -65,6 +65,10 @@
|
||||
#define NUM_Z_STEPPER_DRIVERS 1
|
||||
#endif
|
||||
|
||||
#ifndef PLR_ENABLED_DEFAULT
|
||||
#define PLR_ENABLED_DEFAULT true
|
||||
#endif
|
||||
|
||||
#if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
|
||||
#undef Z_STEPPER_ALIGN_AMP
|
||||
#endif
|
||||
|
@ -930,7 +930,7 @@ void MarlinSettings::postprocess() {
|
||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||
recovery.enabled
|
||||
#else
|
||||
true
|
||||
PLR_ENABLED_DEFAULT
|
||||
#endif
|
||||
;
|
||||
EEPROM_WRITE(recovery_enabled);
|
||||
@ -2670,7 +2670,7 @@ void MarlinSettings::reset() {
|
||||
//
|
||||
|
||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||
recovery.enable(true);
|
||||
recovery.enable(PLR_ENABLED_DEFAULT);
|
||||
#endif
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user