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 adamb-q committed Dec 7, 2022
1 parent 58cf3ba commit 8b8691d
Showing 1 changed file with 21 additions and 25 deletions.
46 changes: 21 additions & 25 deletions src/platform/qpg/ConfigurationManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,31 +80,27 @@ CHIP_ERROR ConfigurationManagerImpl::Init()

switch (qvRebootReason)
{
case qvResetReason_HW_BrownOutDetected:
{
bootReason = BootReasonType::kBrownOutReset;
break;
}

case qvResetReason_HW_Watchdog:
{
bootReason = BootReasonType::kHardwareWatchdogReset;
break;
}

case qvResetReason_HW_Por:
{
bootReason = BootReasonType::kPowerOnReboot;
break;
}

case qvResetReason_SW_Por:
{
bootReason = BootReasonType::kSoftwareReset;
break;
}

default:
case qvResetReason_HW_BrownOutDetected: {
bootReason = BootReasonType::kBrownOutReset;
break;
}

case qvResetReason_HW_Watchdog: {
bootReason = BootReasonType::kHardwareWatchdogReset;
break;
}

case qvResetReason_HW_Por: {
bootReason = BootReasonType::kPowerOnReboot;
break;
}

case qvResetReason_SW_Por: {
bootReason = BootReasonType::kSoftwareReset;
break;
}

default:
bootReason = BootReasonType::kUnspecified;
break;
}
Expand Down

0 comments on commit 8b8691d

Please sign in to comment.