Skip to content

Commit

Permalink
Removes debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
rosahay-silabs committed May 26, 2023
1 parent 62bef41 commit 693f19e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/platform/silabs/efr32/OTAImageProcessorImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,34 +46,29 @@ uint8_t OTAImageProcessorImpl::writeBuffer[kAlignmentBytes] __attribute__((align

CHIP_ERROR OTAImageProcessorImpl::PrepareDownload()
{
ChipLogProgress(SoftwareUpdate, "%s: started", __func__);
DeviceLayer::PlatformMgr().ScheduleWork(HandlePrepareDownload, reinterpret_cast<intptr_t>(this));
return CHIP_NO_ERROR;
}

CHIP_ERROR OTAImageProcessorImpl::Finalize()
{
ChipLogProgress(SoftwareUpdate, "%s: started", __func__);
DeviceLayer::PlatformMgr().ScheduleWork(HandleFinalize, reinterpret_cast<intptr_t>(this));
return CHIP_NO_ERROR;
}
CHIP_ERROR OTAImageProcessorImpl::Apply()
{
ChipLogProgress(SoftwareUpdate, "%s: started", __func__);
DeviceLayer::PlatformMgr().ScheduleWork(HandleApply, reinterpret_cast<intptr_t>(this));
return CHIP_NO_ERROR;
}

CHIP_ERROR OTAImageProcessorImpl::Abort()
{
ChipLogProgress(SoftwareUpdate, "%s: started", __func__);
DeviceLayer::PlatformMgr().ScheduleWork(HandleAbort, reinterpret_cast<intptr_t>(this));
return CHIP_NO_ERROR;
}

CHIP_ERROR OTAImageProcessorImpl::ProcessBlock(ByteSpan & block)
{
ChipLogProgress(SoftwareUpdate, "%s: started", __func__);
if ((block.data() == nullptr) || block.empty())
{
ChipLogError(SoftwareUpdate, "%s: block is empty", __func__);
Expand All @@ -94,7 +89,6 @@ CHIP_ERROR OTAImageProcessorImpl::ProcessBlock(ByteSpan & block)

bool OTAImageProcessorImpl::IsFirstImageRun()
{
ChipLogProgress(SoftwareUpdate, "%s: started", __func__);
OTARequestorInterface * requestor = chip::GetRequestorInstance();
if (requestor == nullptr)
{
Expand All @@ -107,7 +101,6 @@ bool OTAImageProcessorImpl::IsFirstImageRun()

CHIP_ERROR OTAImageProcessorImpl::ConfirmCurrentImage()
{
ChipLogProgress(SoftwareUpdate, "%s: started", __func__);
OTARequestorInterface * requestor = chip::GetRequestorInstance();
if (requestor == nullptr)
{
Expand Down

0 comments on commit 693f19e

Please sign in to comment.