Cleanup stepper ISR. Allow cleaning for endstops.

This commit is contained in:
Scott Lahteine
2017-12-06 12:43:41 -06:00
parent a4e1d83599
commit 6040d4080e
2 changed files with 32 additions and 30 deletions

View File

@ -80,7 +80,7 @@ class Stepper {
private:
static uint8_t last_direction_bits; // The next stepping-bits to be output
static uint16_t cleaning_buffer_counter;
static int16_t cleaning_buffer_counter;
#if ENABLED(X_DUAL_ENDSTOPS)
static bool locked_x_motor, locked_x2_motor;