File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1744
1744
//#define POWER_LOSS_RECOVERY
1745
1745
#if ENABLED (POWER_LOSS_RECOVERY )
1746
1746
#define PLR_ENABLED_DEFAULT false // Power Loss Recovery enabled by default. (Set with 'M413 Sn' & M500)
1747
- //#define PLR_BED_THRESHOLD BED_MAXTEMP // (°C) Skip user confirmation at or above this bed temperature (0 to disable)
1747
+ #if TEMP_SENSOR_BED
1748
+ #define PLR_BED_THRESHOLD 0 // (°C) Skip user confirmation at or above this bed temperature (0 to disable)
1749
+ #endif
1748
1750
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
1749
1751
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
1750
1752
//#define POWER_LOSS_PIN 44 // Pin to detect power loss. Set to -1 to disable default pin on boards without module.
Original file line number Diff line number Diff line change 1357
1357
#endif
1358
1358
1359
1359
// Power-Loss Recovery
1360
- #if ENABLED ( POWER_LOSS_RECOVERY ) && defined(PLR_BED_THRESHOLD )
1360
+ #if defined(PLR_BED_THRESHOLD )
1361
1361
#define HAS_PLR_BED_THRESHOLD 1
1362
1362
#endif
You can’t perform that action at this time.
0 commit comments