Mercurial > public > ostc4
view .hgtags @ 976:0b81ac558e89 Evo_2_23
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 (7 weeks ago) |
parents | 96daa2aa31a8 |
children |
line wrap: on
line source
1b9be6040d8279117c7fc99d528790611638f10b V1.4.7 release ba9d99a2e310da601a948ff11ad665260c600e18 v1.4.8 release 143fe85f82a2e2aca50eb0c29bc55066cb4fe497 v1.5.0 release afa55a50cc724b11b959fa81567d59ede251ef22 v1.5.1 release 54a480c43e977db8fc6969551ad6148f2ad46e15 v1.5.2.beta release 5b4c78c36b0456ff65d1a0870d07d4072045480d v1.5.3 release e9ca66ce36e5c7b023e2b75168c3c8246c6519f2 v1.5.4 release 02e7e11fdbe8c12fdd250074b97db921ef9f1164 1.5.5 release 06ec1da5e1055b39b71bb7e0114ecfdd4f958959 v1.5.6 release