Skip to content

Commit

Permalink
Bugfix: Software-Version attribute is incorrectly being initialized w…
Browse files Browse the repository at this point in the history
…ith HardwareVersion default value (#11869)
  • Loading branch information
jrhees-cae authored and pull[bot] committed Oct 27, 2023
1 parent 737e0a9 commit 4707635
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 @@ -87,7 +87,7 @@ void emberAfBasicClusterServerInitCallback(chip::EndpointId endpoint)
uint16_t firmwareRevision;
if (ConfigurationMgr().GetFirmwareRevision(firmwareRevision) == CHIP_NO_ERROR)
{
status = Attributes::HardwareVersion::Set(endpoint, firmwareRevision);
status = Attributes::SoftwareVersion::Set(endpoint, firmwareRevision);
VerifyOrReturn(EMBER_ZCL_STATUS_SUCCESS == status, ChipLogError(Zcl, "Error setting Software Version: 0x%02x", status));
}
}
Expand Down

0 comments on commit 4707635

Please sign in to comment.