Skip to content

Commit

Permalink
Fix bitmap in clusterObject which should directly use mask instead as…
Browse files Browse the repository at this point in the history
…Offset (#11816)
  • Loading branch information
yunhanw-google authored Nov 17, 2021
1 parent b5dbad1 commit cbd3e95
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 119 deletions.
2 changes: 1 addition & 1 deletion src/app/zap-templates/templates/app/cluster-objects.zapt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ using {{asType label}} = EmberAf{{asType label}};
// Bitmap for {{label}}
enum class {{asType label}} : {{asUnderlyingZclType type}} {
{{#zcl_bitmap_items}}
k{{asUpperCamelCase label}} = {{asOffset mask}},
k{{asUpperCamelCase label}} = {{asHex mask}},
{{/zcl_bitmap_items}}
};
{{/zcl_bitmaps}}
Expand Down
236 changes: 118 additions & 118 deletions zzz_generated/app-common/app-common/zap-generated/cluster-objects.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cbd3e95

Please sign in to comment.