long version

This commit is contained in:
Wolfgang Hottgenroth
2021-03-04 17:44:32 +01:00
parent f542bfc71f
commit 10b4916a4c

View File

@ -67,7 +67,7 @@ static void sinkSenderSendMinute() {
minuteBuffer.s.totalRunningHours = info.uptime / 3600;
minuteBuffer.s.totalPowercycles = 0;
minuteBuffer.s.totalWatchdogResets = 0;
minuteBuffer.s.version = strtol(VERSION, NULL, 16);
minuteBuffer.s.version = strtoll(VERSION, NULL, 16);
memset(minuteBuffer.s.deviceId, 0, sizeof(minuteBuffer.s.deviceId));
strcpy(minuteBuffer.s.deviceId, deviceId);