Skip to content

Commit b52b362

Browse files
committed
Use a struct instead of a typedef
1 parent 8ff725d commit b52b362

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/util/af-types.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ typedef void (*EmberAfGenericClusterFunction)(void);
6464
/**
6565
* @brief Struct describing cluster
6666
*/
67-
typedef struct
67+
struct EmberAfCluster
6868
{
6969
/**
7070
* ID of cluster according to ZCL spec
@@ -119,7 +119,7 @@ typedef struct
119119
uint16_t eventCount;
120120

121121
bool IsServerMask() const { return (mask & CLUSTER_MASK_SERVER) != 0; }
122-
} EmberAfCluster;
122+
};
123123

124124
/**
125125
* @brief Struct that represents a logical device type consisting

0 commit comments

Comments
 (0)