Skip to content

Commit

Permalink
Fix dynamic bridge metadata init order after project-chip#24336 (proj…
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 authored and David Lechner committed Mar 22, 2023
1 parent acc076b commit c92a9a8
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 c92a9a8

Please sign in to comment.