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 erwinpan1 committed Feb 1, 2023
1 parent 0779d80 commit 8084d13
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -702,11 +702,14 @@ void GenericConfigurationManagerImpl<ConfigClass>::LogDeviceConfig()
{
char productName[ConfigurationManager::kMaxProductNameLength + 1];
err = deviceInstanceInfoProvider->GetProductName(productName, sizeof(productName));
if (CHIP_NO_ERROR == err) {
if (CHIP_NO_ERROR == err)
{
ChipLogProgress(DeviceLayer, " Product Name: %s", productName);
} else {
}
else
{
char errorStr[160];
errorStr[0] = 0;
errorStr[0] = 0;
FormatCHIPError(errorStr, sizeof(errorStr), err);
ChipLogError(DeviceLayer, " Product Name: n/a (%s)", errorStr);
}
Expand Down

0 comments on commit 8084d13

Please sign in to comment.