Configurable SLOWDOWN divisor (#17171)

This commit is contained in:
InsanityAutomation
2020-03-15 19:29:18 -04:00
committed by GitHub
parent 3b987dfcec
commit 775a4294fc
2 changed files with 9 additions and 2 deletions

View File

@ -753,8 +753,12 @@
// Minimum time that a segment needs to take if the buffer is emptied
#define DEFAULT_MINSEGMENTTIME 20000 // (ms)
// If defined the movements slow down when the look ahead buffer is only half full
// Slow down the machine if the look ahead buffer is (by default) half full.
// Increase the slowdown divisor for larger buffer sizes.
#define SLOWDOWN
#if ENABLED(SLOWDOWN)
#define SLOWDOWN_DIVISOR 2
#endif
// Frequency limit
// See nophead's blog for more info