Skip to content

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 <35922412+thiagogba@users.noreply.github.com>
@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