-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds HardwareSerial::setRxBufferSize() #5583
Conversation
Isn't this inconsistent? |
I think it will be better to keep similar parameter order that is in the |
Why would it be? |
Adding to the end of parameter list will preserve retro compatibility. |
I would suggest adding back Serial.setRxBufferSize(1024);
Serial.begin(115200); |
Added and commited. |
Summary
It adds HardwareSerial::setRxBufferSize() with default value of 256 bytes.
Fixes #5580
Impact
It allows to define a Rx Buffer Size for UART, before begin().