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 Jan 11, 2023
1 parent f933cc6 commit 1dce789
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 1dce789

Please sign in to comment.