Implement the delayed-move technique

This commit is contained in:
Scott Lahteine
2016-04-03 18:06:17 -07:00
parent a3e25a0fca
commit 47b5c55c29
2 changed files with 8 additions and 6 deletions

View File

@@ -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)