Stm32 uart async driver changes offset after callback #31973
Labels
bug
The issue is a bug, or the PR is fixing a bug
platform: STM32
ST Micro STM32
priority: low
Low impact/importance bug
Describe the bug
Stm32 uart async driver changes itself state (offset data) after calling the callback function with rx_ready event.
If you try to restart rx receive (for example, change buffer just after rx_ready event), you will have bad offset data (should be equal to zero)
To Reproduce
Call uart->rx_enable from uart async callback
Expected behavior
Driver shouldn't change itself state after ready event
Impact
You cannot run rx_enable from uart callback
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: