mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-09 03:20:42 +02:00
receiver bug fix: ctb extractng bits source pointer bug
This commit is contained in:
parent
0224dccd2e
commit
d114f8db90
@ -537,7 +537,7 @@ void DataProcessor::RearrangeDbitData(char* buf) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// copy back to buf and update size
|
// copy back to buf and update size
|
||||||
memcpy(source + digOffset, result.data(), result.size() * sizeof(uint64_t));
|
memcpy(buf + digOffset - (*ctbDbitOffset), result.data(), result.size() * sizeof(uint64_t));
|
||||||
(*((uint32_t*)buf)) = result.size() * sizeof(uint64_t);
|
(*((uint32_t*)buf)) = result.size() * sizeof(uint64_t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user