fix a line of code

This commit is contained in:
Hongze Cheng 2022-11-30 10:32:59 +08:00
parent f5270f6a0c
commit 0277ec35b5
1 changed files with 1 additions and 0 deletions

View File

@ -2187,6 +2187,7 @@ int32_t tGetColData(uint8_t *pBuf, SColData *pColData) {
pColData->pData = pBuf + n;
n += pColData->nData;
} else {
pColData->pData = pBuf + n;
pColData->nData = TYPE_BYTES[pColData->type] * pColData->nVal;
n += pColData->nData;
}