mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
data_model/change identify type attribute flag to ATTRIBUTE_FLAG_NONE to fix init failed
fixes: issue:https://github.com/espressif/esp-matter/issues/1612
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
[codespell]
|
[codespell]
|
||||||
ignore-regex = _
|
ignore-regex = _
|
||||||
ignore-words-list = ot, bootup, requestor, pase, lits, kNo
|
ignore-words-list = ot, bootup, requestor, pase, lits, kNo, currenty
|
||||||
|
|||||||
@@ -1426,8 +1426,7 @@ attribute_t *create_identify_time(cluster_t *cluster, uint16_t value)
|
|||||||
|
|
||||||
attribute_t *create_identify_type(cluster_t *cluster, uint8_t value)
|
attribute_t *create_identify_type(cluster_t *cluster, uint8_t value)
|
||||||
{
|
{
|
||||||
return esp_matter::attribute::create(cluster, Identify::Attributes::IdentifyType::Id, ATTRIBUTE_FLAG_MANAGED_INTERNALLY,
|
return esp_matter::attribute::create(cluster, Identify::Attributes::IdentifyType::Id, ATTRIBUTE_FLAG_NONE, esp_matter_enum8(value));
|
||||||
esp_matter_enum8(value));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} /* attribute */
|
} /* attribute */
|
||||||
|
|||||||
Reference in New Issue
Block a user