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 woody-apple committed Dec 10, 2021
1 parent cb932fc commit ba91e5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/platform/nxp/k32w/k32w0/ConfigurationManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
#include <platform/internal/GenericConfigurationManagerImpl.cpp>
#include <platform/nxp/k32w/k32w0/K32W0Config.h>

#include "fsl_reset.h"
#include "fsl_power.h"
#include "fsl_reset.h"

namespace chip {
namespace DeviceLayer {
Expand Down Expand Up @@ -139,7 +139,7 @@ CHIP_ERROR ConfigurationManagerImpl::GetBootReason(uint32_t & bootReason)
{
bootReason = EMBER_ZCL_BOOT_REASON_TYPE_SOFTWARE_RESET;
}
else if (reason == RESET_WDT)
else if (reason == RESET_WDT)
{
bootReason = EMBER_ZCL_BOOT_REASON_TYPE_SOFTWARE_WATCHDOG_RESET;
/* Reboot can be due to hardware or software watchdog */
Expand Down
1 change: 0 additions & 1 deletion src/platform/nxp/k32w/k32w0/K32W0Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ class K32WConfig
static constexpr Key kCounterKey_TotalOperationalHours = K32WConfigKey(kPDMId_ChipConfig, 0x0C);
static constexpr Key kCounterKey_BootReason = K32WConfigKey(kPDMId_ChipConfig, 0x0D);


// Set key id limits for each group.
static constexpr Key kMinConfigKey_ChipFactory = K32WConfigKey(kPDMId_ChipFactory, 0x00);
static constexpr Key kMaxConfigKey_ChipFactory = K32WConfigKey(kPDMId_ChipFactory, 0x08);
Expand Down

0 comments on commit ba91e5e

Please sign in to comment.