Trim the new comments to repo style

This commit is contained in:
J. Nick Koston
2026-08-08 01:52:40 -05:00
parent 40ac344bf2
commit ffe55f7691
7 changed files with 19 additions and 41 deletions
@@ -13,9 +13,7 @@ namespace esphome::ble_device_base::testing {
//
// The in-tree emit site (BK72xxBLETracker::on_scan_report) compiles against
// the Beken SDK and cannot run host-side, so the guard-and-fire semantics are
// pinned here through a minimal host hub instead. The contract is duck-typed
// (BLEHub is a per-platform alias, not a base class), so the fake carries
// only the slot surface under test.
// pinned here through a minimal host hub carrying only the slot under test.
namespace {
class FakeHub {
@@ -7,11 +7,8 @@
namespace esphome::ble_device_base::testing {
// Pins the request_scan_mode() contract documented in ble_hub.h: a hub
// without a mode switch refuses without changing any state (so callers report
// the real state back), while a switching hub both honors the request and
// applies it. The contract is duck-typed (BLEHub is a per-platform alias),
// so the shapes are pinned through minimal host hubs mirroring the in-tree
// tracker stubs.
// without a mode switch refuses without changing any state, a switching hub
// honors and applies. Minimal host hubs mirror the in-tree tracker stubs.
namespace {
class RefusingHub {