|
@@ -94,6 +94,10 @@
|
94
|
94
|
#include "../../feature/caselight.h"
|
95
|
95
|
#endif
|
96
|
96
|
|
|
97
|
+#if ENABLED(POWER_LOSS_RECOVERY)
|
|
98
|
+ #include "../../feature/powerloss.h"
|
|
99
|
+#endif
|
|
100
|
+
|
97
|
101
|
#if ENABLED(BABYSTEPPING)
|
98
|
102
|
#include "../../feature/babystep.h"
|
99
|
103
|
#endif
|
|
@@ -674,6 +678,11 @@ namespace ExtUI {
|
674
|
678
|
#endif
|
675
|
679
|
#endif
|
676
|
680
|
|
|
681
|
+ #if ENABLED(POWER_LOSS_RECOVERY)
|
|
682
|
+ bool getPowerLossRecoveryEnabled() { return recovery.enabled; }
|
|
683
|
+ void setPowerLossRecoveryEnabled(const bool value) { recovery.enable(value); }
|
|
684
|
+ #endif
|
|
685
|
+
|
677
|
686
|
#if ENABLED(LIN_ADVANCE)
|
678
|
687
|
float getLinearAdvance_mm_mm_s(const extruder_t extruder) {
|
679
|
688
|
return (extruder < EXTRUDERS) ? planner.extruder_advance_K[extruder - E0] : 0;
|