From 160828435287d1e14fcb102588c60a05659a98a0 Mon Sep 17 00:00:00 2001 From: Bharat Raju Date: Thu, 23 Feb 2023 16:33:35 -0500 Subject: [PATCH] Mentioning the new order for GENERATED_ATTRIBUTES in the current template such that default can be the old order within zap and it will not break earlier Matter sdk releases. (#25285) JIRA: ZAPP-1081 --- src/app/zap-templates/templates/app/endpoint_config.zapt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/zap-templates/templates/app/endpoint_config.zapt b/src/app/zap-templates/templates/app/endpoint_config.zapt index 78fff827dca22f..76090b3a58e7ff 100644 --- a/src/app/zap-templates/templates/app/endpoint_config.zapt +++ b/src/app/zap-templates/templates/app/endpoint_config.zapt @@ -26,7 +26,7 @@ // This is an array of EmberAfAttributeMetadata structures. #define GENERATED_ATTRIBUTE_COUNT {{endpoint_attribute_count}} -#define GENERATED_ATTRIBUTES {{ endpoint_attribute_list }} +#define GENERATED_ATTRIBUTES {{ endpoint_attribute_list order='default,id,size,type,mask'}} // clang-format off #define GENERATED_EVENT_COUNT {{ chip_endpoint_generated_event_count }}