Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and arkq committed Jul 18, 2024
1 parent a665909 commit c343f0b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/platform/ESP32/BLEManagerImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class BLEManagerImpl final : public BLEManager,
#ifdef CONFIG_ENABLE_ESP32_BLE_CONTROLLER

void NewConnection(chip::Ble::BleLayer * bleLayer, void * appState, const SetupDiscriminator & connDiscriminator) override;
void NewConnection(chip::Ble::BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override {};
void NewConnection(chip::Ble::BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override{};
CHIP_ERROR CancelConnection() override;

// ===== Members that implement virtual methods on ChipDeviceScannerDelegate
Expand Down
2 changes: 1 addition & 1 deletion src/platform/Linux/BLEManagerImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class BLEManagerImpl final : public BLEManager,
// ===== Members that implement virtual methods on BleConnectionDelegate.

void NewConnection(BleLayer * bleLayer, void * appState, const SetupDiscriminator & connDiscriminator) override;
void NewConnection(BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override {};
void NewConnection(BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override{};
CHIP_ERROR CancelConnection() override;

// ===== Members that implement virtual methods on ChipDeviceScannerDelegate
Expand Down
2 changes: 1 addition & 1 deletion src/platform/NuttX/BLEManagerImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class BLEManagerImpl final : public BLEManager,
// ===== Members that implement virtual methods on BleConnectionDelegate.

void NewConnection(BleLayer * bleLayer, void * appState, const SetupDiscriminator & connDiscriminator) override;
void NewConnection(BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override {};
void NewConnection(BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override{};
CHIP_ERROR CancelConnection() override;

// ===== Members that implement virtual methods on ChipDeviceScannerDelegate
Expand Down
3 changes: 2 additions & 1 deletion src/platform/Tizen/BLEManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,8 @@ CHIP_ERROR BLEManagerImpl::_Init()

ChipLogProgress(DeviceLayer, "Initialize Tizen BLE Layer");

err = PlatformMgrImpl().GLibMatterContextInvokeSync(+[](BLEManagerImpl * self) { return self->_InitImpl(); }, this);
err = PlatformMgrImpl().GLibMatterContextInvokeSync(
+[](BLEManagerImpl * self) { return self->_InitImpl(); }, this);
SuccessOrExit(err);

// The hash table key is stored in the BLEConnection structure
Expand Down
2 changes: 1 addition & 1 deletion src/platform/Tizen/BLEManagerImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class BLEManagerImpl final : public BLEManager,
// ===== Members that implement virtual methods on BleConnectionDelegate.

void NewConnection(BleLayer * bleLayer, void * appState, const SetupDiscriminator & connDiscriminator) override;
void NewConnection(BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override {};
void NewConnection(BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override{};
CHIP_ERROR CancelConnection() override;

// ===== Members that implement virtual methods on ChipDeviceScannerDelegate
Expand Down
2 changes: 1 addition & 1 deletion src/platform/android/BLEManagerImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class BLEManagerImpl final : public BLEManager,
// ===== Members that implement virtual methods on BleConnectionDelegate.

void NewConnection(BleLayer * bleLayer, void * appState, const SetupDiscriminator & connDiscriminator) override;
void NewConnection(BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override {};
void NewConnection(BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override{};
CHIP_ERROR CancelConnection() override;

// ===== Members for internal use by the following friends.
Expand Down
2 changes: 1 addition & 1 deletion src/platform/webos/BLEManagerImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class BLEManagerImpl final : public BLEManager,
// ===== Members that implement virtual methods on BleConnectionDelegate.

void NewConnection(BleLayer * bleLayer, void * appState, const SetupDiscriminator & connDiscriminator) override;
void NewConnection(BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override {};
void NewConnection(BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override{};
CHIP_ERROR CancelConnection() override;

// ===== Members that implement virtual methods on ChipDeviceScannerDelegate
Expand Down

0 comments on commit c343f0b

Please sign in to comment.