commit | a66909aaaeb316f192ce6eb8641e776d375876fb | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Tue Mar 08 11:37:26 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 14 20:11:51 2022 +0000 |
tree | 5e0ccc9c2569213e7ef763a080f06fcae7b25765 | |
parent | 15bc259ccbb073dfc759833a268b03a6ec199cc1 [diff] |
pw_transfer: Reset retry count when receiving data in C++ context This fixes a bug in the C++ transfer context implementation where the retry count was never reset during a transfer, incorrectly making it a cumulative counter for the transfer's entire duration. Change-Id: Ica650412c3dc244fcbc7801c143b2ac1d023e900 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/87300 Pigweed-Auto-Submit: Alexei Frolov <frolv@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/