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 Jun 7, 2024
1 parent 37e3675 commit a454dca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/platform/Tizen/BLEManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,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 @@ -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
3 changes: 2 additions & 1 deletion src/platform/Tizen/ChipDeviceScanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ CHIP_ERROR ChipDeviceScanner::StartScan(ScanFilterType filterType, const ScanFil
SetupScanFilter(filterType, filterData);

// All set to trigger LE Scan
err = PlatformMgrImpl().GLibMatterContextInvokeSync(+[](ChipDeviceScanner * self) { return self->StartScanImpl(); }, this);
err = PlatformMgrImpl().GLibMatterContextInvokeSync(
+[](ChipDeviceScanner * self) { return self->StartScanImpl(); }, this);
SuccessOrExit(err);

return CHIP_NO_ERROR;
Expand Down

0 comments on commit a454dca

Please sign in to comment.