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 joonhaengHeo committed Nov 6, 2023
1 parent 9a95ee3 commit 4197ae9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/controller/java/AndroidDeviceControllerWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@ CHIP_ERROR AndroidDeviceControllerWrapper::StartOTAProvider(jobject otaProviderD
VerifyOrExit(otaProviderBridge != nullptr, err = CHIP_ERROR_NO_MEMORY);

err = otaProviderBridge->Init(systemState->SystemLayer(), systemState->ExchangeMgr(), otaProviderDelegate);
VerifyOrExit(err == CHIP_NO_ERROR, ChipLogError(Controller, "OTA Provider Initialize Error : %" CHIP_ERROR_FORMAT, err.Format()));
VerifyOrExit(err == CHIP_NO_ERROR,
ChipLogError(Controller, "OTA Provider Initialize Error : %" CHIP_ERROR_FORMAT, err.Format()));

mOtaProviderBridge = otaProviderBridge;
exit:
Expand Down
3 changes: 2 additions & 1 deletion src/controller/java/OTAProviderDelegateBridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ OTAProviderDelegateBridge::~OTAProviderDelegateBridge()
mBdxOTASender = nullptr;
}

CHIP_ERROR OTAProviderDelegateBridge::Init(chip::System::Layer * systemLayer, chip::Messaging::ExchangeManager * exchangeManager, jobject otaProviderDelegate)
CHIP_ERROR OTAProviderDelegateBridge::Init(chip::System::Layer * systemLayer, chip::Messaging::ExchangeManager * exchangeManager,
jobject otaProviderDelegate)
{
ReturnLogErrorOnFailure(mOtaProviderDelegate.Init(otaProviderDelegate));

Expand Down
3 changes: 2 additions & 1 deletion src/controller/java/OTAProviderDelegateBridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ class OTAProviderDelegateBridge : public chip::app::Clusters::OTAProviderDelegat
{
public:
~OTAProviderDelegateBridge() override;
CHIP_ERROR Init(chip::System::Layer * systemLayer, chip::Messaging::ExchangeManager * exchangeManager, jobject OTAProviderDelegate);
CHIP_ERROR Init(chip::System::Layer * systemLayer, chip::Messaging::ExchangeManager * exchangeManager,
jobject OTAProviderDelegate);
void Shutdown();

/**
Expand Down

0 comments on commit 4197ae9

Please sign in to comment.