🐛 Fix PLR with FT_MOTION (#28116)

Fixes #28102
This commit is contained in:
narno2202
2025-10-19 00:20:26 +02:00
committed by Scott Lahteine
parent 3753cb9a94
commit c44b9c1c28
+10
View File
@@ -31,6 +31,10 @@
#include "stepper.h" // Access stepper block queue function and abort status.
#include "endstops.h"
#if ENABLED(POWER_LOSS_RECOVERY)
#include "../feature/powerloss.h"
#endif
FTMotion ftMotion;
//-----------------------------------------------------------------
@@ -170,6 +174,12 @@ void FTMotion::loop() {
continue;
}
loadBlockData(stepper.current_block);
#if ENABLED(POWER_LOSS_RECOVERY)
recovery.info.sdpos = stepper.current_block->sdpos;
recovery.info.current_position = stepper.current_block->start_position;
#endif
blockProcRdy = true;
// Some kinematics track axis motion in HX, HY, HZ