Skip to content

Commit

Permalink
Fix dynamic bridge metadata init order after #24336 (#24370)
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 authored and pull[bot] committed Nov 3, 2023
1 parent 8d6cee7 commit 7737188
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ struct Attribute : public AttributeInterface
{
Attribute(chip::CharSpan name, chip::AttributeId id, EmberAfAttributeMask mask, EmberAfAttributeType type, size_t size,
Type value = Type()) :
mMetadata(EmberAfAttributeMetadata{ id, type, (uint16_t) size, mask, ZAP_EMPTY_DEFAULT() }),
mMetadata(EmberAfAttributeMetadata{ ZAP_EMPTY_DEFAULT(), id, (uint16_t) size, type, mask }),
mData(value), mName(name)
{}

Expand Down

0 comments on commit 7737188

Please sign in to comment.