Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(uart): prevent deinitializing another UART #2754

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 1 commit into from
Jun 23, 2025

Conversation

thiagogba
Copy link
Contributor

If called from an uninitialized HardwareSerial, the code unintentionally deinit the UART at uart_handlers[0]

If called from an uninitialized HardwareSerial,
the code unintentionally deinit the UART at uart_handlers[0]

Signed-off-by: Thiago Henrique Alves <[email protected]>
@fpistm fpistm force-pushed the fix-uart-deinit branch from bccdb75 to 278a911 Compare June 23, 2025 07:38
@fpistm fpistm added the fix 🩹 Bug fix label Jun 23, 2025
@fpistm fpistm added this to the 2.11.0 milestone Jun 23, 2025
Copy link
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

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

Thanks @thiagogba for the PR and the fix.

@github-project-automation github-project-automation bot moved this from In progress to Reviewer approved in STM32 core based on ST HAL Jun 23, 2025
@fpistm fpistm merged commit dd46d9c into stm32duino:main Jun 23, 2025
24 checks passed
@github-project-automation github-project-automation bot moved this from Reviewer approved to Done in STM32 core based on ST HAL Jun 23, 2025
@fpistm fpistm changed the title fix(uart): prevent deinitializing another UART fix(uart): prevent deinitializing another UART Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 🩹 Bug fix
Projects
Development

Successfully merging this pull request may close these issues.

2 participants