Buffer size > 16

This commit is contained in:
Erik van der Zalm
2011-11-14 18:53:09 +01:00
parent 2643ae93d6
commit 331e82dcd3
3 changed files with 129 additions and 127 deletions

View File

@ -311,9 +311,9 @@ const int dropsegments=0; //everything with less than this number of steps will
// The number of linear motions that can be in the plan at any give time.
// THE BLOCK_BUFFER_SIZE NEEDS TO BE A POWER OF 2, i.g. 8,16,32 because shifts and ors are used to do the ringbuffering.
#if defined SDSUPPORT
#define BLOCK_BUFFER_SIZE 8 // SD,LCD,Buttons take more memory, block buffer needs to be smaller
#define BLOCK_BUFFER_SIZE 16 // SD,LCD,Buttons take more memory, block buffer needs to be smaller
#else
#define BLOCK_BUFFER_SIZE 8 // maximize block buffer
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
#endif