MCPcopy Create free account
hub / github.com/bdring/FluidNC / plan_reset_buffer

Function plan_reset_buffer

FluidNC/src/Planner.cpp:202–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202void plan_reset_buffer() {
203 block_buffer_tail = 0;
204 block_buffer_head = 0; // Empty = tail
205 next_buffer_head = 1; // plan_next_block_index(block_buffer_head)
206 block_buffer_planned = 0; // = block_buffer_tail;
207}
208
209// Called from stepper pulse function when the block is complete
210void plan_discard_current_block() {

Callers 1

plan_resetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected