From 5539b12619fc924c0ba2bceda75bcf229c3ebe1d Mon Sep 17 00:00:00 2001 From: Rapsssito Date: Sat, 13 Jul 2024 13:39:21 +0200 Subject: [PATCH] Fix clang format --- esphome/components/esp32_ble_server/ble_server_automations.cpp | 2 +- esphome/components/esp32_ble_server/ble_server_automations.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/esp32_ble_server/ble_server_automations.cpp b/esphome/components/esp32_ble_server/ble_server_automations.cpp index f9e1706ba4..17e79811f6 100644 --- a/esphome/components/esp32_ble_server/ble_server_automations.cpp +++ b/esphome/components/esp32_ble_server/ble_server_automations.cpp @@ -20,7 +20,7 @@ Trigger> *BLETriggers::create_on_write_trigger(BLECharacter void BLECharacteristicSetValueActionManager::set_listener(BLECharacteristic *characteristic, EventEmitterListenerID listener_id, - const std::function& pre_notify_listener) { + const std::function &pre_notify_listener) { // Check if there is already a listener for this characteristic if (this->listeners_.count(characteristic) > 0) { // Unpack the pair listener_id, pre_notify_listener_id diff --git a/esphome/components/esp32_ble_server/ble_server_automations.h b/esphome/components/esp32_ble_server/ble_server_automations.h index d9bc88268c..df289af9f2 100644 --- a/esphome/components/esp32_ble_server/ble_server_automations.h +++ b/esphome/components/esp32_ble_server/ble_server_automations.h @@ -37,7 +37,7 @@ class BLECharacteristicSetValueActionManager return &instance; } void set_listener(BLECharacteristic *characteristic, EventEmitterListenerID listener_id, - const std::function& pre_notify_listener); + const std::function &pre_notify_listener); EventEmitterListenerID get_listener(BLECharacteristic *characteristic) { return this->listeners_[characteristic].first; }