Made PLANNER_POOL_SIZE adjustable int he hardware files, and bumped it to 96 for the gquintic

This commit is contained in:
Rob Giseburt
2017-04-11 08:50:41 -05:00
parent 099ff5b460
commit ea07e9e43d
2 changed files with 4 additions and 0 deletions

View File

@@ -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

View File

@@ -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