Remove extra MAX_FREQ_TIME define (PR#148)
This commit is contained in:
parent
868dbbac6a
commit
f690b82343
@ -799,7 +799,6 @@ float junction_deviation = 0.1;
|
|||||||
|
|
||||||
// Max segement time in us.
|
// Max segement time in us.
|
||||||
#ifdef XY_FREQUENCY_LIMIT
|
#ifdef XY_FREQUENCY_LIMIT
|
||||||
#define MAX_FREQ_TIME (1000000.0 / XY_FREQUENCY_LIMIT)
|
|
||||||
|
|
||||||
// Check and limit the xy direction change frequency
|
// Check and limit the xy direction change frequency
|
||||||
unsigned char direction_change = block->direction_bits ^ old_direction_bits;
|
unsigned char direction_change = block->direction_bits ^ old_direction_bits;
|
||||||
|
Loading…
Reference in New Issue
Block a user