commit | a42890dfefc2acfc9e0d5583fb215628bd8b4a8c | [log] [tgz] |
---|---|---|
author | Jonathon Reinhart <jrreinhart@google.com> | Wed Jan 29 13:43:54 2025 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 29 13:43:54 2025 -0800 |
tree | a45c0bcee7b5234b02927bd22218d44eff6fee03 | |
parent | b7c6f45bbc006a7ccf1cc4daf173f0f9d4beee2a [diff] |
pw_bluetooth_proxy: Replace kMaxDirections with kNumDirections While having Direction::kMaxDirections automatically reflect the intended cardinality of the enum is nice, it is not actually a desired member of the enum, preventing Direction from being used in a switch statement, due to -Wswitch-enum. Change-Id: I650f15a14149c5749b6228e62b8548a1a31add26 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/263154 Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Reviewed-by: David Rees <drees@google.com> Docs-Not-Needed: Jonathon Reinhart <jrreinhart@google.com> Pigweed-Auto-Submit: Jonathon Reinhart <jrreinhart@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Austin Foxley <afoxley@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.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/.