Skip to content

Commit

Permalink
Fix compilation for esp32
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Apr 10, 2024
1 parent 04e4050 commit 7903fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/util/mock/MockNodeConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace internal {
constexpr EmberAfAttributeMetadata DefaultAttributeMetadata(chip::AttributeId id)
{
return EmberAfAttributeMetadata{
.defaultValue = EmberAfDefaultOrMinMaxAttributeValue(0u),
.defaultValue = EmberAfDefaultOrMinMaxAttributeValue(static_cast<uint32_t>(0)),
.attributeId = id,
.size = 4,
.attributeType = ZCL_INT32U_ATTRIBUTE_TYPE,
Expand Down

0 comments on commit 7903fb5

Please sign in to comment.