Skip to content
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

Fix Serial USB COM port #12911

Merged
merged 3 commits into from Jun 22, 2023
Merged

Fix Serial USB COM port #12911

merged 3 commits into from Jun 22, 2023

Conversation

freasy
Copy link
Member

@freasy freasy commented Jun 22, 2023

After the softserial rework, when a target does not have "USE_SOFTSERIAL" the identifier for softserial will not be set to "none", thus somehow breaks the virtual com port.

@github-actions
Copy link

Do you want to test this code? You can flash it directly from Betaflight Configurator:

  • Simply put #12911 (this pull request number) in the Select commit field of the Configurator firmware flasher tab (you need to Enable expert mode, Show release candidates and Development).

WARNING: It may be unstable. Use only for testing!

@haslinghuis haslinghuis added this to the 4.5 milestone Jun 22, 2023
src/main/io/serial.c Outdated Show resolved Hide resolved
@blckmn blckmn merged commit 0503311 into betaflight:master Jun 22, 2023
20 checks passed
Copy link
Member

@haslinghuis haslinghuis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better read :)

@hydra
Copy link
Contributor

hydra commented Jun 26, 2023

Does anyone have a commit ID of when the USB serial was broken? Was a bisect done?

I ask as I'm helping someone debug USB serial issues and want to know a range of bad commits to see if he was testing with known-broken code.

@freasy
Copy link
Member Author

freasy commented Jun 26, 2023

Does anyone have a commit ID of when the USB serial was broken? Was a bisect done?

I ask as I'm helping someone debug USB serial issues and want to know a range of bad commits to see if he was testing with known-broken code.

Yes i have it somewhere, it was the LPUART/SOFTSERIAL refactoring from DieHertz

freasy added a commit to freasy/betaflight that referenced this pull request Jul 19, 2023
davidbitton pushed a commit to davidbitton/betaflight that referenced this pull request Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: COMPLETED
Development

Successfully merging this pull request may close these issues.

None yet

4 participants