Skip to content

Commit

Permalink
Restyled by whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and hicklin committed Jul 11, 2024
1 parent 30ae28e commit dcbe505
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class GenericConfigurationManagerImpl : public ConfigurationManager
CHIP_ERROR SetFailSafeArmed(bool val) override;
/**
* @brief Update location with the current device location.
*
*
* Expects that location is initialised with a locationName CharSpan pointing to a buffer of size kMaxDeviceLocationNameLength.
*/
CHIP_ERROR GetDeviceLocation(DeviceLocatioType &location) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ CHIP_ERROR GenericConfigurationManagerImpl<ConfigClass>::GetDeviceLocation(Devic

size_t outLen = 0;
ReturnErrorOnFailure(ReadConfigValueBin(
ConfigClass::kConfigKey_DeviceLocation,
ConfigClass::kConfigKey_DeviceLocation,
locationSpan.data(), locationSpan.size(),
outLen));

Expand Down Expand Up @@ -634,8 +634,8 @@ CHIP_ERROR GenericConfigurationManagerImpl<ConfigClass>::SetDeviceLocation(Devic
ReturnErrorOnFailure(location->Encode(tlvWriter, TLV::AnonymousTag()));

ReturnErrorOnFailure(WriteConfigValueBin(
ConfigClass::kConfigKey_DeviceLocation,
static_cast<const uint8_t *>(locationSpan.data()),
ConfigClass::kConfigKey_DeviceLocation,
static_cast<const uint8_t *>(locationSpan.data()),
tlvWriter.GetLengthWritten()));

return CHIP_NO_ERROR;
Expand Down

0 comments on commit dcbe505

Please sign in to comment.