Skip to content

Commit 8385f95

Browse files
committed
Merge branch 'attribute_member_order' into 'main'
components/esp_matter: reorder member in _attribute_t struct for memory optimization See merge request app-frameworks/esp-matter!954
2 parents d945537 + 0e4cb28 commit 8385f95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/esp_matter/esp_matter_core.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ struct _attribute_base_t {
159159

160160
struct _attribute_t : public _attribute_base_t {
161161
uint32_t cluster_id; // This struct is for attributes not managed internally.
162-
uint16_t endpoint_id;
163162
esp_matter_attr_val_t val;
164163
attribute::callback_t override_callback;
164+
uint16_t endpoint_id;
165165
};
166166

167167
typedef struct _command {

0 commit comments

Comments
 (0)