Skip to content

Improves UART reading performance #7525

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

Merged
merged 7 commits into from
Dec 13, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixes override signature
  • Loading branch information
SuGlider authored Dec 6, 2022
commit 6ef09b6a4e13f65b268117ce8356a660d9683ba1
2 changes: 1 addition & 1 deletion cores/esp32/HardwareSerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class HardwareSerial: public Stream
size_t readBytes(uint8_t *buffer, size_t length);
size_t readBytes(char *buffer, size_t length)
{
return readBytes((char *) buffer, length);
return readBytes((uint8_t *) buffer, length);
}
void flush(void);
void flush( bool txOnly);
Expand Down