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/.