Revert buffer tweaks
Due to occasional hiccups on USB printing, I am looking for a better way to ensure smooth prints and temporarily reverting the buffer tweaks
This commit is contained in:
		| @@ -123,7 +123,7 @@ | ||||
|  * | ||||
|  * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] | ||||
|  */ | ||||
| #define BAUDRATE 115200 | ||||
| #define BAUDRATE 250000 | ||||
|  | ||||
| // Enable the Bluetooth serial interface on AT90USB devices | ||||
| //#define BLUETOOTH | ||||
|   | ||||
| @@ -880,7 +880,7 @@ | ||||
|  | ||||
| // The ASCII buffer for serial input | ||||
| #define MAX_CMD_SIZE 96 | ||||
| #define BUFSIZE 16 | ||||
| #define BUFSIZE 4 | ||||
|  | ||||
| // Transmission to Host Buffer Size | ||||
| // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. | ||||
| @@ -889,13 +889,13 @@ | ||||
| // 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 4 | ||||
| #define TX_BUFFER_SIZE 0 | ||||
|  | ||||
| // Host Receive Buffer Size | ||||
| // Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. | ||||
| // To use flow control, set this buffer size to at least 1024 bytes. | ||||
| // :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] | ||||
| #define RX_BUFFER_SIZE 32 | ||||
| //#define RX_BUFFER_SIZE 32 | ||||
|  | ||||
| #if RX_BUFFER_SIZE >= 1024 | ||||
|   // Enable to have the controller send XON/XOFF control characters to | ||||
|   | ||||
		Reference in New Issue
	
	Block a user