Reduce USB receive buffer size from 512 to 256 bytes to save some RAM.
This commit is contained in:
@@ -1772,7 +1772,7 @@
|
|||||||
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
|
// 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.
|
// 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]
|
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
|
||||||
#define RX_BUFFER_SIZE 512
|
#define RX_BUFFER_SIZE 256
|
||||||
|
|
||||||
#if RX_BUFFER_SIZE >= 1024
|
#if RX_BUFFER_SIZE >= 1024
|
||||||
// Enable to have the controller send XON/XOFF control characters to
|
// Enable to have the controller send XON/XOFF control characters to
|
||||||
|
Reference in New Issue
Block a user