Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nrfx_uarte: Make uarte_control_block_t's tx_buffer_length volatile
In certain cases nrfx_uarte_tx_in_progress() needs to always return true. Such behavior was observed when nrfx was compiled with strong optimizations (-O3). Marking tx_buffer_length as volatile solved the problem. Tested on Linux with arm-none-eabi-gcc v8.2.0
- Loading branch information