drop location

This commit is contained in:
2021-02-10 16:20:32 +01:00
parent eb87009b60
commit 89444476b8
5 changed files with 1 additions and 18 deletions

View File

@ -70,8 +70,6 @@ void counterMinuteTick(void *handle) {
coloredMsg(LOG_BLUE, "cmt, buffer %d is done, handle it", minuteBufferIdx);
memset(minuteBuffer->s.deviceId, 0, sizeof(minuteBuffer->s.deviceId));
strcpy(minuteBuffer->s.deviceId, config->deviceId);
memset(minuteBuffer->s.location, 0, sizeof(minuteBuffer->s.location));
strcpy(minuteBuffer->s.location, config->location);
memcpy(minuteBuffer->s.hash, config->sharedSecret, SHA256_BLOCK_SIZE);
SHA256_CTX ctx;