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 (project-chip#11869)
  • Loading branch information
jrhees-cae authored Nov 17, 2021
1 parent 1ba52e7 commit e338b6e
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 e338b6e

Please sign in to comment.