diff --git a/g2core/board/gquintic/hardware.h b/g2core/board/gquintic/hardware.h index 40f9baf0..ae2bde94 100644 --- a/g2core/board/gquintic/hardware.h +++ b/g2core/board/gquintic/hardware.h @@ -126,6 +126,8 @@ using Motate::OutputPin; #define MIN_SEGMENT_MS ((float)0.125) // S70 can handle much much smaller segements +#define PLANNER_BUFFER_POOL_SIZE (96) + /**** Motate Definitions ****/ // Timer definitions. See stepper.h and other headers for setup diff --git a/g2core/planner.h b/g2core/planner.h index b572e641..cf352e9f 100644 --- a/g2core/planner.h +++ b/g2core/planner.h @@ -244,7 +244,9 @@ typedef enum { /*** Most of these factors are the result of a lot of tweaking. Change with caution.***/ +#ifndef PLANNER_BUFFER_POOL_SIZE #define PLANNER_BUFFER_POOL_SIZE (48) // Suggest 12 min. Limit is 255 +#endif #define PLANNER_BUFFER_HEADROOM (4) // Buffers to reserve in planner before processing new input line #define JERK_MULTIPLIER ((float)1000000) // DO NOT CHANGE - must always be 1 million