|
|
|
@ -559,10 +559,13 @@ const unsigned int dropsegments = 5; //everything with less than this number of
|
|
|
|
|
#define MAX_CMD_SIZE 96
|
|
|
|
|
#define BUFSIZE 4
|
|
|
|
|
|
|
|
|
|
// Set Transfer-Buffer-Size by uncommenting the next define. Default size is 32byte.
|
|
|
|
|
// :[0,2,4,8,16,32,64,128,256]. To save 386byte of PROGMEM and (3 + TX_BUFFER_SIZE) bytes of RAM set TX_BUFFER_SIZE to 0
|
|
|
|
|
// To buffer a simple "ok" you need 4 byte, for ADVANCED_OK/M105 you need 32 and for debug-echo: 128 byte to get the optimal speed.
|
|
|
|
|
// Any other output does not need to be that speedy.
|
|
|
|
|
// Transfer Buffer Size
|
|
|
|
|
// To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
|
|
|
|
|
// To buffer a simple "ok" you need 4 bytes.
|
|
|
|
|
// For ADVANCED_OK (M105) you need 32 bytes.
|
|
|
|
|
// For debug-echo: 128 bytes for the optimal speed.
|
|
|
|
|
// Other output doesn't need to be that speedy.
|
|
|
|
|
// :[0,2,4,8,16,32,64,128,256]
|
|
|
|
|
#define TX_BUFFER_SIZE 0
|
|
|
|
|
|
|
|
|
|
// Enable an emergency-command parser to intercept certain commands as they
|
|
|
|
|