CLS now depends on PROTOS for central type & enum defention

This commit is contained in:
2024-04-30 02:35:38 +02:00
parent 581ffc9ed9
commit bcfcba5bb9
3 changed files with 7 additions and 39 deletions

12
CLS.c
View File

@@ -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");