Fix clang format

This commit is contained in:
Rapsssito 2024-07-13 13:39:21 +02:00
parent 3dbf3f60fe
commit 5539b12619
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ Trigger<std::vector<uint8_t>> *BLETriggers::create_on_write_trigger(BLECharacter
void BLECharacteristicSetValueActionManager::set_listener(BLECharacteristic *characteristic,
EventEmitterListenerID listener_id,
const std::function<void()>& pre_notify_listener) {
const std::function<void()> &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

View File

@ -37,7 +37,7 @@ class BLECharacteristicSetValueActionManager
return &instance;
}
void set_listener(BLECharacteristic *characteristic, EventEmitterListenerID listener_id,
const std::function<void()>& pre_notify_listener);
const std::function<void()> &pre_notify_listener);
EventEmitterListenerID get_listener(BLECharacteristic *characteristic) {
return this->listeners_[characteristic].first;
}