| commit | 3ba5797d7bc4351fec151fc316a5cd767ecf4019 | [log] [tgz] |
|---|---|---|
| author | Josh Conner <joshconner@google.com> | Tue Jul 01 14:06:22 2025 -0700 |
| committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 01 14:06:22 2025 -0700 |
| tree | 8b689bf850caaf43202816f7bba69d3eae8c5a51 | |
| parent | 460a4208ff98788e25cdfeb365316db5a61c9571 [diff] |
pw_bluetooth_sapphire: Reorganize StopAdvertising calls StartAdvertising(...) and StopAdvertising(id) both call generic logic that is implemented in StartAdvertisingInternal(...) and StopAdvertisingInternal(id) methods. The no-arguments version of StopAdvertising() (intended for stopping all all active advertisements), however, calls a StopAdvertising() method in its superclass explicitly. This inconsistency makes it a bit confusing to follow the logic, so I added a StopAdvertisingInternal() implementation that follows the pattern set by StartAdvertising(...) and StopAdvertising(id). Test: pw presubmit --step gn_chre_googletest_nanopb_sapphire_build Change-Id: I875f74409d02e8f8685604d722da83d8fade80e8 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/302392 Reviewed-by: Ben Lawson <benlawson@google.com> Commit-Queue: Josh Conner <joshconner@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Docs-Not-Needed: Josh Conner <joshconner@google.com> Tests-Not-Needed: Ben Lawson <benlawson@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/.