Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

HardwareSerial::end #8627

ikkei3 started this conversation in General
Sep 12, 2023 · 3 comments · 1 reply
Discussion options

What is the purpose of delay(10) in HardwareSerial::end()?
Is that a spell? Please remove it.

You must be logged in to vote

Replies: 3 comments 1 reply

Comment options

I found that this was inserted in the PR #5047 beacuse of the issue #5043
At this time I also see no purpose for this delay(10).
I'll get it out.

You must be logged in to vote
0 replies
Comment options

This is fixed by #8634

You must be logged in to vote
0 replies
Comment options

This revert seems to break HardwareSerial 0 on Seeeduino XIAO ESP32-C3. Downgrading back to 2.0.12 fixes it.

You must be logged in to vote
1 reply
Comment options

@trickyau - Seeeduino XIAO ESP32-C3 board seems to use the HWCDC as default Serial Communication.
When I select the "XIAO_ESP32C3" board it has "USB CDC On Boot: Enabled" by default, indicating that Serial is actually the CDC port, not the HardwareSerial UART port.

I need more details about how the C3 was connected to the UART GPIOs and how to reproduce the issue.
Please open an issue with all the information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /