Skip to content

Commit

Permalink
Remove unused constants and extern declare from attribute-storage.cpp (
Browse files Browse the repository at this point in the history
…#31567)

Co-authored-by: Andrei Litvin <andreilitvin@google.com>
  • Loading branch information
2 people authored and pull[bot] committed Jan 26, 2024
1 parent 7b6dbf6 commit 2358601
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/app/util/attribute-storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,8 @@
ZAP_EMPTY_DEFAULT(), attId, attSizeBytes, ZAP_TYPE(attType), attrMask | ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) \
}

#define CLUSTER_TICK_FREQ_ALL (0x00)
#define CLUSTER_TICK_FREQ_QUARTER_SECOND (0x04)
#define CLUSTER_TICK_FREQ_HALF_SECOND (0x08)
#define CLUSTER_TICK_FREQ_SECOND (0x0C)

extern uint8_t attributeData[]; // main storage bucket for all attributes

extern uint8_t attributeDefaults[]; // storage bucked for > 2b default values

void emAfCallInits(void);

#define emberAfClusterIsClient(cluster) ((bool) (((cluster)->mask & CLUSTER_MASK_CLIENT) != 0))
Expand Down

0 comments on commit 2358601

Please sign in to comment.