| commit | fbeb3065d40533b22d12b7cb108362df093c4456 | [log] [tgz] |
|---|---|---|
| author | Jonathon Reinhart <jrreinhart@google.com> | Wed Aug 20 12:32:35 2025 -0700 |
| committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 20 12:32:35 2025 -0700 |
| tree | 9720f686853eb6beb58cb5c745b8d51eadbe100b | |
| parent | 523fffe0bd0137e8310befbb334390d51dc9744a [diff] |
pw_thread: Use Message.FromString() rather than ParseFromString() Not only is this less code, but it should also be slightly more efficient, since ParseFromString() internally must first Clear(). Change-Id: Icd53a147fa95b7146f39fc35285c8e00a2545ee9 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/314477 Pigweed-Auto-Submit: Jonathon Reinhart <jrreinhart@google.com> Commit-Queue: Jonathon Reinhart <jrreinhart@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Docs-Not-Needed: Jonathon Reinhart <jrreinhart@google.com> Tests-Not-Needed: Jonathon Reinhart <jrreinhart@google.com> Reviewed-by: Armando Montanez <amontanez@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/.