File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1746
1746
//#define POWER_LOSS_RECOVERY
1747
1747
#if ENABLED (POWER_LOSS_RECOVERY )
1748
1748
#define PLR_ENABLED_DEFAULT false // Power-Loss Recovery enabled by default. (Set with 'M413 Sn' & M500)
1749
- //#define PLR_BED_THRESHOLD BED_MAXTEMP // (°C) Skip user confirmation at or above this bed temperature (0 to disable)
1750
-
1751
- //#define POWER_LOSS_PIN 44 // Pin to detect power-loss. Set to -1 to disable default pin on boards without module, or comment to use board default.
1749
+ #if TEMP_SENSOR_BED
1750
+ #define PLR_BED_THRESHOLD 0 // (°C) Skip user confirmation at or above this bed temperature (0 to disable)
1751
+ #endif
1752
1752
//#define POWER_LOSS_STATE HIGH // State of pin indicating power-loss
1753
1753
//#define POWER_LOSS_PULLUP // Set pullup / pulldown as appropriate for your sensor
1754
1754
//#define POWER_LOSS_PULLDOWN
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