CLS now depends on PROTOS for central type & enum defention
This commit is contained in:
12
CLS.c
12
CLS.c
@@ -6,17 +6,7 @@
|
||||
|
||||
osTimerId_t CLS_HeatbeatTimerId; // Timer ID
|
||||
|
||||
static CLS_HeatbeatData_t cls_heatbeat_data = {
|
||||
.firmware_version.major = 0,
|
||||
.firmware_version.minor = 0,
|
||||
.firmware_version.patch = 0,
|
||||
.firmware_version.count = 0,
|
||||
.id = 0,
|
||||
.type = CLS_TYPE_LIGHT,
|
||||
.counter =0,
|
||||
.position.p0 = 0,
|
||||
.position.p1 = 0,
|
||||
};
|
||||
static CLS_HeatbeatData_t cls_heatbeat_data = {0};
|
||||
|
||||
_Static_assert(sizeof(cls_heatbeat_data) == 8, "CLS_HeatbeatData_t is not 8 bytes");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user