-
Notifications
You must be signed in to change notification settings - Fork 1.3k
RP2040 and ESP32S2: Return correct count from UART.write() #4645
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! @dhalbert... seems like the esp32s2
port also has this issue.
Thanks! I will push another commit for that. |
Fixed and tested on |
@microdev1 One more review, if you have time. I just had to bump a cache key to fix the build. Thanks. |
UART.write()
was always returning zero because it used the inputlen
as a countdown.This change is on
6.2.x
, and we can merge or cherry-pick this tomain
.