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 nivi-apple committed Jul 26, 2024
1 parent cb96615 commit 07e78e0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ CHIP_ERROR PresetStructWithOwnedMembers::SetName(const Optional<DataModel::Nulla
size_t newNameSize = newName.Value().Value().size();
if (newNameSize > kPresetNameSize)
{
ChipLogError(Zcl, "Failed to set Preset name. New name size (%u) > allowed preset name size (%u)", static_cast<uint8_t>(newNameSize),
static_cast<uint8_t>(kPresetNameSize));
ChipLogError(Zcl, "Failed to set Preset name. New name size (%u) > allowed preset name size (%u)",
static_cast<uint8_t>(newNameSize), static_cast<uint8_t>(kPresetNameSize));
return CHIP_ERROR_NO_MEMORY;
}
MutableCharSpan targetSpan(presetNameData);
Expand Down

0 comments on commit 07e78e0

Please sign in to comment.