pw_transfer: Add return values to handler registrations Transfer handler registration/deregistration may not always complete due to the event queue being blocked. Adding return status booleans to provide that information of failure back to the caller. Change-Id: Ifd472c9580f1580fbfe95cf091f3c22030730874 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/230912 Commit-Queue: Jordan Brauer <jtbrauer@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Reviewed-by: Alexei Frolov <frolv@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.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/.