Implement the delayed-move technique
This commit is contained in:
parent
a3e25a0fca
commit
47b5c55c29
2 changed files with 8 additions and 6 deletions
|
|
@ -189,6 +189,8 @@ class Planner {
|
|||
*/
|
||||
static uint8_t movesplanned() { return BLOCK_MOD(block_buffer_head - block_buffer_tail + BLOCK_BUFFER_SIZE); }
|
||||
|
||||
static bool is_full() { return (block_buffer_tail == BLOCK_MOD(block_buffer_head + 1)); }
|
||||
|
||||
#if ENABLED(AUTO_BED_LEVELING_FEATURE) || ENABLED(MESH_BED_LEVELING)
|
||||
|
||||
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue