This commit is contained in:
2021-03-08 15:22:37 +01:00
parent 0759475be8
commit c4708b1284

View File

@ -279,6 +279,10 @@ int forwardMinuteBuffer(t_forwarderHandle *handle, t_minuteBuffer *buf) {
buf->s.version);
t_device *device = findDevice(handle->configHandle, buf->s.deviceId);
if (device == NULL) {
logmsg(LOG_ERR, "unknown device, strange, should not happen here");
return -2;
}
const char *location = device->location;
for (uint8_t j = 0; j < SECONDS_PER_MINUTE; j++) {