Skip to content

Commit

Permalink
Enable the Accessors implementations for global attributes. (#12839)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Feb 16, 2022
1 parent 32541eb commit 0e287fe
Show file tree
Hide file tree
Showing 2 changed files with 14,300 additions and 7,259 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ namespace Clusters {

{{#zcl_clusters}}
{{#zcl_attributes_server}}
{{#if (hasSpecificAttributes)}}
{{#first}}
namespace {{asUpperCamelCase parent.label}} {
namespace Attributes {

{{/first}}
{{#if clusterRef}}
{{#if_is_struct type}}
{{else if (canHaveSimpleAccessors this)}}
namespace {{asUpperCamelCase label}} {
Expand Down Expand Up @@ -133,13 +131,11 @@ EmberAfStatus Set(chip::EndpointId endpoint, const DataModel::Nullable<{{asUnder
} // namespace {{asUpperCamelCase label}}

{{/if_is_struct}}
{{/if}}
{{#last}}
} // namespace Attributes
} // {{asUpperCamelCase parent.label}}

{{/last}}
{{/if}}
{{/zcl_attributes_server}}
{{/zcl_clusters}}

Expand Down
Loading

0 comments on commit 0e287fe

Please sign in to comment.