Mercurial > public > ostc4
comparison Common/Drivers/STM32F4xx/Source/Templates/arm/startup_stm32f469xx.s @ 976:0b81ac558e89 Evo_2_23 tip
Devbugfix UART buffer cleaning:
In the previous version a buffer cleaning function was used which resets the ringbuffer read index. As result the processing of data was stopped until the DMA write comes to the index 0. When reaching it the complete buffer was proceeded including possibly invalid data.
The usage of the cleanbuffer function was replaced by the flush buffer function (meaning the data is discarded but the data index is maintained). There was already a function for this. Because the function was 99% the same as the read function, it was integrated into the ReadData function. Calling the function with parameter flush = 1 will result in a buffer flush.
The workaround of the previous revision was updated to only be applied in case a DiveO2 sensor is operated in stand alone mode.
author | Ideenmodellierer |
---|---|
date | Wed, 29 Jan 2025 17:21:20 +0100 (5 hours ago) |
parents | c78bcbd5deda |
children |
comparison
equal
deleted
inserted
replaced
975:142f3d0363b3 | 976:0b81ac558e89 |
---|