commit | 3cfe5d0c4759c5866a993af2bbba279f7f62322f | [log] [tgz] |
---|---|---|
author | aarongreen <aarongreen@google.com> | Mon Sep 25 14:55:11 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 25 14:55:11 2023 +0000 |
tree | efed099b1bb8cccb3d91dd97c2c1cfd89365988f | |
parent | 571523313de9a410e11eb244a3fd479b345bc28c [diff] |
pw_metric: Make constructors constexpr This CL makes the following constructors constexpr: - pw::metric::Group(Token) - pw::metric::Metric(Token, float) - pw::metric::Metric(Token, uint32_t) - pw::metric::TypedMetric<float>(Token, float) - pw::metric::TypedMetric<uint32_t>(Token, uint32_t) Change-Id: I601d76cda0f5a03747df8282337da7afa94fe3db Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/172379 Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Aaron Green <aarongreen@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/.