mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-10 12:00:43 +02:00
receiver bug fix: ctb extractng bits source pointer bug
This commit is contained in:
@ -537,7 +537,7 @@ void DataProcessor::RearrangeDbitData(char* buf) {
|
||||
}
|
||||
|
||||
// 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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user