Log event when planner is aborted

It may be useful to see if any moves are lost

Change in memory:
Flash: +32 bytes
SRAM: 0 bytes
This commit is contained in:
Guðni Már Gilbert 2023-06-11 15:24:30 +00:00 committed by DRracer
parent f13d657c7e
commit 434386e6cc
1 changed files with 2 additions and 0 deletions

View File

@ -718,6 +718,8 @@ void plan_buffer_line(float x, float y, float z, const float &e, float feed_rate
#endif /* PLANNER_DIAGNOSTICS */
if(planner_aborted) {
// avoid planning the block early if aborted
SERIAL_ECHO_START;
SERIAL_ECHOLNRPGM(_n("Move aborted"));
return;
}