commit | ab45b0af879939b0b5a9ba4ceb4e0a35978e60f7 | [log] [tgz] |
---|---|---|
author | Jonathon Reinhart <jrreinhart@google.com> | Thu Sep 14 01:17:28 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 14 01:17:28 2023 +0000 |
tree | b308091226f89c9227b3b0f14ad75532c161d5bc | |
parent | fe6f6848f02f4f306ce87700464a1091f80828dc [diff] |
pw_function: Update example to match guidelines for parameters https://pigweed.dev/pw_function/#pw-function-as-a-function-parameter says: "If the pw::Function simply needs to be called, it should be passed by const reference." See also: pwrev/67943 Change-Id: I00044e55b485fbb790937a15d10981338a237bda Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/170651 Commit-Queue: Jonathon Reinhart <jrreinhart@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keir Mierle <keir@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/.