This commit is contained in:
2021-02-16 13:19:31 +01:00
parent 901b2fbea4
commit baaf7bf665
3 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,8 @@ void counterMinuteTick(void *handle) {
minuteBuffer->s.totalRunningHours = deviceStats->totalRunningHours;
minuteBuffer->s.totalPowercycles = deviceStats->totalPowercycles;
minuteBuffer->s.totalWatchdogResets = deviceStats->totalWatchdogResets;
minuteBuffer->s.version = strtol(VERSION, NULL, 16);
memset(minuteBuffer->s.deviceId, 0, sizeof(minuteBuffer->s.deviceId));
strcpy(minuteBuffer->s.deviceId, config->deviceId);