tick() => isr() to spotlight interrupt-time
This commit is contained in:
@ -885,11 +885,9 @@ class Planner {
|
||||
// Wait for moves to finish and disable all steppers
|
||||
static void finish_and_disable();
|
||||
|
||||
// Periodic tick to handle cleaning timeouts
|
||||
// Periodic handler to manage the cleaning buffer counter
|
||||
// Called from the Temperature ISR at ~1kHz
|
||||
static void tick() {
|
||||
if (cleaning_buffer_counter) --cleaning_buffer_counter;
|
||||
}
|
||||
static void isr() { if (cleaning_buffer_counter) --cleaning_buffer_counter; }
|
||||
|
||||
/**
|
||||
* Does the buffer have any blocks queued?
|
||||
|
Reference in New Issue
Block a user