commit | f7c593853010ea29542e8f10c33ced5398c2216f | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Wed Nov 17 14:02:36 2021 -0800 |
committer | Wyatt Hepler <hepler@google.com> | Tue Nov 23 17:54:57 2021 +0000 |
tree | f319896f123455512154d070cd09e886a9e1447c | |
parent | 1cbc49a30ebaa721033b63a6760e7afc9581c7d2 [diff] |
pw_transfer: Properly clean up after completion - Set the transfer state to kCompleted when a client transfer completes. - When searching for a context to use in the client, only return an error of finding the same transfer ID if the transfer is active. - Use ALREADY_EXISTS when attempting to start a transfer ID that's already pending since it's more specific. Change-Id: Ib74df966a1b3fd90fe1a5d2cf978cea82e0500cf Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/69740 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Ewout van Bekkum <ewout@google.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/