|
|
@ -94,6 +94,10 @@ |
|
|
|
#include "../../feature/caselight.h" |
|
|
|
#endif |
|
|
|
|
|
|
|
#if ENABLED(POWER_LOSS_RECOVERY) |
|
|
|
#include "../../feature/powerloss.h" |
|
|
|
#endif |
|
|
|
|
|
|
|
#if ENABLED(BABYSTEPPING) |
|
|
|
#include "../../feature/babystep.h" |
|
|
|
#endif |
|
|
@ -674,6 +678,11 @@ namespace ExtUI { |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#if ENABLED(POWER_LOSS_RECOVERY) |
|
|
|
bool getPowerLossRecoveryEnabled() { return recovery.enabled; } |
|
|
|
void setPowerLossRecoveryEnabled(const bool value) { recovery.enable(value); } |
|
|
|
#endif |
|
|
|
|
|
|
|
#if ENABLED(LIN_ADVANCE) |
|
|
|
float getLinearAdvance_mm_mm_s(const extruder_t extruder) { |
|
|
|
return (extruder < EXTRUDERS) ? planner.extruder_advance_K[extruder - E0] : 0; |
|
|
|