Skip to content

Commit

Permalink
Fix productName
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmelveilleux committed Jan 26, 2022
1 parent 41d65a7 commit aca6232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/clusters/basic/basic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ CHIP_ERROR BasicAttrAccess::Read(const ConcreteReadAttributePath & aPath, Attrib
case ProductName::Id: {
constexpr size_t kMaxLen = DeviceLayer::ConfigurationManager::kMaxProductNameLength;
char productName[kMaxLen + 1] = { 0 };
status = ConfigurationMgr().GetVendorName(productName, sizeof(productName));
status = ConfigurationMgr().GetProductName(productName, sizeof(productName));
status = EncodeStringOnSuccess(status, aEncoder, productName, kMaxLen);
break;
}
Expand Down

0 comments on commit aca6232

Please sign in to comment.